Load Gnome settings if available

This commit is contained in:
Anthony Rose 2023-10-02 22:06:05 +01:00
parent 76c573e850
commit 9c31fac770

View file

@ -2,13 +2,24 @@
xset b off # Disable the audible bell. xset b off # Disable the audible bell.
xrandr --dpi 96 # Set the fonts to the normal DPI. xrandr --dpi 96 # Set the fonts to the normal DPI.
xrdb -load "$HOME/.Xresources" xrdb -load "$HOME/.Xresources"
if [ -x /usr/local/bin/picom ] if [ -x /usr/local/bin/picom ]
then then
/usr/local/bin/picom -b /usr/local/bin/picom -b
fi fi
if [ -x /usr/local/bin/hsetroot ] if [ -x /usr/local/bin/hsetroot ]
then then
sleep 1 sleep 1
/usr/local/bin/hsetroot -solid "rgb:10/10/10" /usr/local/bin/hsetroot -solid "rgb:10/10/10"
fi fi
if [ -x /usr/local/libexec/gsd-xsettings ]
then
/usr/local/libexec/gsd-xsettings &
elif [ -x /usr/libexec/gsd-xsettings ]
then
/usr/libexec/gsd-xsettings &
fi
return 0 return 0