Sets wallpaper if ~/Pictures/wallpaper exists

master
Jonathan Hodgson 4 years ago
parent 690cbf71f9
commit d37cbdd99c
  1. 3
      x/.xinitrc

@ -33,6 +33,7 @@ xinput --list | grep -Ei 'ErgoDox EZ\s+id' | grep -oE 'id=[0-9]+' |
type -p compton > /dev/null && exec /usr/bin/compton --config "$HOME/.config/picom/picom.conf" & type -p compton > /dev/null && exec /usr/bin/compton --config "$HOME/.config/picom/picom.conf" &
#setbackground & #setbackground &
#/usr/bin/nitrogen --restore & #/usr/bin/nitrogen --restore &
[ -e $HOME/Pictures/wallpaper ] && type -p feh > /dev/null && feh --bg-fill $HOME/Pictures/wallpaper
/usr/bin/systemctl --user start background.service /usr/bin/systemctl --user start background.service
[ -f /usr/lib/kdeconnectd ] && /usr/lib/kdeconnectd & [ -f /usr/lib/kdeconnectd ] && /usr/lib/kdeconnectd &
[ -f /usr/bin/pactl ] && /usr/bin/pactl load-module module-switch-on-connect & [ -f /usr/bin/pactl ] && /usr/bin/pactl load-module module-switch-on-connect &
@ -45,6 +46,8 @@ if hostname | grep -q phone; then
xrandr --output DSI-1 --mode 720x1440 --dpi 192 xrandr --output DSI-1 --mode 720x1440 --dpi 192
fi fi
dunst &
#greenclip daemon & #greenclip daemon &
#exec xrdb .Xresources #exec xrdb .Xresources
#xbindkeys #xbindkeys

Loading…
Cancel
Save