dotfiles/.config/X11/dwm-xinit

41 lines
1018 B
Plaintext
Raw Normal View History

2021-06-22 17:21:15 +00:00
exec rm ~/.cache/wal/ &
exec wal -i ~/pix/wallpapers/wallpaper &
#exec feh --no-fehbg --bg-fill ~/pix/wallpapers/wallpaper &
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 &
umask 002 &
if test -f /usr/lib/ssh/x11-ssh-askpass
then
SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass ssh-add < /dev/null
fi &
2021-07-13 14:53:00 +00:00
exec dstartup &
exec xephyr-helper &
exec xhost +si:localuser:"$USER" &
no-hdmi-port.sh && with-hdmi-port.sh &
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