Add a whole bunch of configuration with gsettings
This commit is contained in:
parent
e94ef59e6d
commit
999275e954
@ -1,5 +1,6 @@
|
|||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=Sweet-Dark
|
gtk-theme-name=Sweet-Dark
|
||||||
|
gtk-application-prefer-dark-theme = true
|
||||||
gtk-icon-theme-name=Sweet-Rainbow
|
gtk-icon-theme-name=Sweet-Rainbow
|
||||||
gtk-font-name=Fira Sans 12
|
gtk-font-name=Fira Sans 12
|
||||||
gtk-cursor-theme-name=capitaine-cursors-light
|
gtk-cursor-theme-name=capitaine-cursors-light
|
||||||
|
@ -327,9 +327,12 @@ elif [[ "$seltheme" == "space-pink" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# make fehbg executable
|
# make fehbg executable
|
||||||
if [[ -f "$HOME/.fehbg" ]]; then
|
#if [[ -f "$HOME/.fehbg" ]]; then
|
||||||
chmod +x ~/.fehbg
|
# chmod +x ~/.fehbg
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
|
bash "$scriptloc/gsettings.sh"
|
||||||
|
echo "Set theme using gsettings"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
17
arch-config/scripts/gsettings.sh
Normal file
17
arch-config/scripts/gsettings.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# set GTK theme
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme Sweet-Dark
|
||||||
|
# prefer dark variant
|
||||||
|
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
|
||||||
|
|
||||||
|
# icon theme
|
||||||
|
gsettings set org.gnome.desktop.interface icon-theme Sweet-Rainbow
|
||||||
|
|
||||||
|
# Font
|
||||||
|
gsettings set org.gnome.desktop.interface font-name "Fira Sans 12"
|
||||||
|
|
||||||
|
# cursor theme
|
||||||
|
gsettings set org.gnome.desktop.interface cursor-theme "capitaine-cursors-light"
|
Loading…
Reference in New Issue
Block a user