run ~/.fehbg if found

This commit is contained in:
Łukasz Pankowski 2022-03-02 00:07:12 +01:00
parent 069e1e3e85
commit 4827a11e64
2 changed files with 10 additions and 3 deletions

View File

@ -11,6 +11,12 @@ xrdb -merge ~/.Xresources
setxkbmap pl -option ctrl:nocaps setxkbmap pl -option ctrl:nocaps
xmodmap ~/.xmodmaprc xmodmap ~/.xmodmaprc
if [ -x ~/.fehbg ]; then
~/.fehbg &
else
xsetroot -solid '#4a4a4a'
fi
# lock screen on suspend/hibernate # lock screen on suspend/hibernate
if which xss-lock slock >/dev/null; then if which xss-lock slock >/dev/null; then
xss-lock slock & xss-lock slock &
@ -24,12 +30,11 @@ emacsclient --eval nil -a '' &
xsettingsd & xsettingsd &
if which spectrwm > /dev/null; then if which spectrwm > /dev/null; then
xsetroot -solid '#4a4a4a'
exec spectrwm exec spectrwm
fi fi
if which lupan-wm > /dev/null; then if which lupan-wm > /dev/null; then
xsetroot -solid '#4a4a4a' -cursor_name left_ptr xsetroot -cursor_name left_ptr
lupan-clock & lupan-clock &
exec lupan-wm -s 20 exec lupan-wm -s 20
fi fi

View File

@ -14,7 +14,9 @@ else
fi fi
# Background color # Background color
xsetroot -solid "$BGCOLOR" if [ ! -x ~/.fehbg ]; then
xsetroot -solid "$BGCOLOR"
fi
# Alacritty # Alacritty
if [ -f ~/.config/alacritty/alacritty.yml ]; then if [ -f ~/.config/alacritty/alacritty.yml ]; then