diff options
author | Britney Fransen <brfransen@gmail.com> | 2025-01-02 05:32:21 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2025-01-02 05:32:21 (GMT) |
commit | f612262ebffc03a51b25dd7a6c64d4ec4debebaf (patch) | |
tree | 530ef15f352067c23ba80b00990f562dc8cc7fed | |
parent | e58f6223c877af08f17e103c972c18be656e1b78 (diff) | |
download | linhes_pkgbuild-f612262ebffc03a51b25dd7a6c64d4ec4debebaf.zip linhes_pkgbuild-f612262ebffc03a51b25dd7a6c64d4ec4debebaf.tar.gz linhes_pkgbuild-f612262ebffc03a51b25dd7a6c64d4ec4debebaf.tar.bz2 |
linhes-system: lh_apply_UI_settings.sh: fix sddm theme settings
-rwxr-xr-x | linhes/linhes-system/PKGBUILD | 4 | ||||
-rwxr-xr-x | linhes/linhes-system/lh_apply_UI_settings.sh | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD index e574e87..b4367c7 100755 --- a/linhes/linhes-system/PKGBUILD +++ b/linhes/linhes-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=linhes-system pkgver=9.0.0 -pkgrel=83 +pkgrel=84 arch=('x86_64') #install=$pkgname.install pkgdesc="Everything that makes LinHES a system" @@ -47,7 +47,7 @@ sha256sums=('e6eaa2fb4819fa60cb05b4d2e7328d2914af3a73028a735ec4d56e7ece33ecc0' 'cd3306991c8b63f5402c0e52405cc1a6581cb3c42af74b7c2f879c8192f95610' 'e371c6a289c68fe200d7da856c20a8c579efa23178f4d62235f7359d7f6e49a1' 'ee9a4df83e463e0c8a2e862680a83cff07a36cf3606faf60f57bc11190ffb1c9' - '88f023b94c0522189ae4acb40a2d5204e81fec8af430696e2b7cab9615809614' + '7b39ddc6ec31322c679a15349a567e4fae5c808769443b7bf4a4d8ee882259e6' 'd2d69b2bf6315bd37ff5f5b2f0cde8ab2fb89bae18f8796dc5208ffc1a9d743e' 'a745356952470a5d718bef1961309ea30e4fa6a2860961cd52e09d6ec11e708e' '1819085bd2c9106482c5f243b95fddf3dae69212330ab76cb493add5c26a45a4' diff --git a/linhes/linhes-system/lh_apply_UI_settings.sh b/linhes/linhes-system/lh_apply_UI_settings.sh index 2a8250d..e49d98f 100755 --- a/linhes/linhes-system/lh_apply_UI_settings.sh +++ b/linhes/linhes-system/lh_apply_UI_settings.sh @@ -1,7 +1,9 @@ #!/bin/bash cp /usr/share/linhes/templates/plasma-org.kde.plasma.desktop-appletsrc ~/.config/ +plasma-apply-wallpaperimage /usr/share/linhes/templates/lights-bud-abstract-4k-cq.jpg plasma-apply-colorscheme BreezeDark + kwriteconfig6 --group KDE --key SingleClick false kwriteconfig6 --file ~/.config/kscreenlockerrc --group Daemon --key Autolock false kwriteconfig6 --file ~/.config/kscreenlockerrc --group Daemon --key LockOnResume false @@ -11,8 +13,6 @@ kwriteconfig6 --file ~/.powerdevilrc --group AC --group Display --key DimDisplay kwriteconfig6 --file ~/.powerdevilrc --group AC --group Display --key TurnOffDisplayWhenIdle false kwriteconfig6 --file ~/.powerdevilrc --group AC --group SuspendAndShutdown --key AutoSuspendAction 0 -plasma-apply-wallpaperimage /usr/share/linhes/templates/lights-bud-abstract-4k-cq.jpg - #sddm settings if grep -Fxq "User=km" /etc/sddm.conf.d/autologin.conf; then echo "Updating /etc/sddm.conf.d/autologin.conf" @@ -25,11 +25,10 @@ if [ -f "/etc/sddm.conf" ]; then sudo rm /etc/sddm.conf fi -if [ ! -f "/etc/sddm.conf.d/theme.conf" ]; then +if ! grep -Fxq "[General]" /etc/sddm.conf.d/theme.conf; then echo "[General]" | sudo tee /etc/sddm.conf.d/theme.conf echo "Numlock=on" | sudo tee -a /etc/sddm.conf.d/theme.conf - - echo "[Theme]" | sudo tee /etc/sddm.conf.d/theme.conf + echo "[Theme]" | sudo tee -a /etc/sddm.conf.d/theme.conf echo "Current=breeze" | sudo tee -a /etc/sddm.conf.d/theme.conf echo "CursorTheme=breeze_cursors" | sudo tee -a /etc/sddm.conf.d/theme.conf echo "Font=Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1" | sudo tee -a /etc/sddm.conf.d/theme.conf |