adjust common settings
This commit is contained in:
parent
cf22ca89a2
commit
d5680db6ee
6 changed files with 13 additions and 12 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: Librewish <librewish@gmail.com>
|
# Maintainer: Librewish <librewish@gmail.com>
|
||||||
|
|
||||||
pkgname=garuda-common-settings
|
pkgname=garuda-common-settings
|
||||||
pkgver=2.4.1
|
pkgver=2.4.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
||||||
|
@ -17,6 +17,7 @@ depends=('btrfsmaintenance'
|
||||||
'garuda-icons'
|
'garuda-icons'
|
||||||
'garuda-migrations'
|
'garuda-migrations'
|
||||||
'garuda-update'
|
'garuda-update'
|
||||||
|
'garuda-wallpapers'
|
||||||
'nohang'
|
'nohang'
|
||||||
'profile-sync-daemon'
|
'profile-sync-daemon'
|
||||||
'zram-generator')
|
'zram-generator')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Categories=System;Monitor;
|
Categories=System;Monitor;
|
||||||
Comment=Does the initial user setup
|
Comment=Does the initial user setup
|
||||||
Exec=systemctl --user enable --now gamemoded;setup_dxvk install;rm ~/.config/autostart/initial-user-setup.desktop
|
Exec=balooctl disable;systemctl --user enable --now gamemoded;setup_dxvk install;rm ~/.config/autostart/initial-user-setup.desktop
|
||||||
Icon=setup
|
Icon=setup
|
||||||
Name=Initial user setup
|
Name=Initial user setup
|
||||||
StartupNotify=false
|
StartupNotify=false
|
||||||
|
|
|
@ -138,5 +138,5 @@ volume-max=250
|
||||||
#[eye-cancer]
|
#[eye-cancer]
|
||||||
#sharpen=5
|
#sharpen=5
|
||||||
|
|
||||||
keepaspect=no
|
#keepaspect=no
|
||||||
save-position-on-quit
|
save-position-on-quit
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
# vivaldi
|
# vivaldi
|
||||||
# vivaldi-snapshot
|
# vivaldi-snapshot
|
||||||
#
|
#
|
||||||
BROWSERS=(firedragon firefox chromium)
|
BROWSERS=(firedragon firefox chromium opera vivaldi google-chrome otter-browser)
|
||||||
|
|
||||||
# Uncomment and set to "no" to completely disable the crash recovery feature.
|
# Uncomment and set to "no" to completely disable the crash recovery feature.
|
||||||
#
|
#
|
||||||
|
|
|
@ -11,14 +11,6 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
echo "Attempting to enable services..."
|
|
||||||
systemctl enable btrfs-balance.timer
|
|
||||||
systemctl enable btrfs-defrag.timer
|
|
||||||
systemctl enable btrfs-scrub.timer
|
|
||||||
systemctl enable btrfs-trim.timer
|
|
||||||
systemctl enable garuda-pacman-lock
|
|
||||||
systemctl enable nohang-desktop
|
|
||||||
systemctl --global enable psd
|
|
||||||
|
|
||||||
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
|
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
|
||||||
|
|
||||||
|
|
|
@ -95,3 +95,11 @@ polkit.addRule(function(action, subject) {
|
||||||
return polkit.Result.YES;
|
return polkit.Result.YES;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
polkit.addRule(function(action, subject) {
|
||||||
|
if ((action.id == "org.garuda.btfrs-assistant.pkexec.policy.run") &&
|
||||||
|
subject.isInGroup("wheel"))
|
||||||
|
{
|
||||||
|
return polkit.Result.YES;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in a new issue