dotfiles/.config/X11/dwm-xinit

40 lines
991 B
Plaintext
Raw Normal View History

2021-08-01 11:38:51 +00:00
exec rm -r ~/.cache/wal/ &
2021-07-15 08:57:42 +00:00
exec wal -n -i ~/pix/wallpapers/wallpaper &
exec feh --no-fehbg --bg-fill ~/pix/wallpapers/wallpaper &
2021-06-22 17:21:15 +00:00
exec xrdb ~/.cache/wal/colors.Xresources &
2021-05-18 04:21:15 +00:00
exec slstatus &
2021-06-22 17:21:15 +00:00
exec picom -CG --config ~/.config/picom.conf &
2021-05-18 04:21:15 +00:00
exec xrandr --auto --output HDMI1 --mode 1024x768 --right-of eDP1 &
#exec flameshot &
#exec greenclip daemon &
2021-05-22 17:07:32 +00:00
#exec /usr/lib/kdeconnectd &
2021-06-22 17:21:15 +00:00
#exec dunst
2021-05-18 04:21:15 +00:00
exec xmodmap ~/.config/Xmodmap &
2021-06-22 17:21:15 +00:00
exec mpd &
2021-05-22 17:07:32 +00:00
source ~/.config/env &
exec xss-lock -- /usr/bin/slock &
exec keynav &
2021-07-26 05:00:24 +00:00
exec light -S 100 &
2021-05-22 17:07:32 +00:00
umask 002 &
2021-08-01 11:38:51 +00:00
eval $(keychain --eval --quiet id_ed25519)
2021-07-13 14:53:00 +00:00
exec dstartup &
exec xephyr-helper &
no-hdmi-port.sh && with-hdmi-port.sh &
2021-08-01 11:38:51 +00:00
exec xhost +si:localuser:"$USER" &
2021-07-30 16:16:05 +00:00
exec unclutter &
2021-05-22 17:07:32 +00:00
# relaunch DWM if the binary changes, otherwise bail
csum=""
new_csum=$(sha1sum $(which dwm))
while true
do
if [ "$csum" != "$new_csum" ]
then
csum=$new_csum
dbus-launch dwm
else
exit 0
fi
new_csum=$(sha1sum $(which dwm))
sleep 0.5
done