1
0
Fork 0
mirror of synced 2024-11-25 11:35:37 -05:00

adjust common settings

This commit is contained in:
librewish 2021-11-29 19:11:40 +05:30
parent cf22ca89a2
commit d5680db6ee
6 changed files with 13 additions and 12 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings
pkgver=2.4.1
pkgver=2.4.2
pkgrel=1
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
@ -17,6 +17,7 @@ depends=('btrfsmaintenance'
'garuda-icons'
'garuda-migrations'
'garuda-update'
'garuda-wallpapers'
'nohang'
'profile-sync-daemon'
'zram-generator')

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Categories=System;Monitor;
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
Name=Initial user setup
StartupNotify=false

View file

@ -138,5 +138,5 @@ volume-max=250
#[eye-cancer]
#sharpen=5
keepaspect=no
#keepaspect=no
save-position-on-quit

View file

@ -52,7 +52,7 @@
# vivaldi
# 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.
#

View file

@ -11,14 +11,6 @@ post_install() {
}
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

View file

@ -95,3 +95,11 @@ polkit.addRule(function(action, subject) {
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;
}
});