dotfiles/.config/X11/dwm-xinit

41 lines
1018 B
Plaintext

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 &
exec slstatus &
exec picom -CG --config ~/.config/picom.conf &
exec xrandr --auto --output HDMI1 --mode 1024x768 --right-of eDP1 &
#exec flameshot &
#exec greenclip daemon &
#exec /usr/lib/kdeconnectd &
#exec dunst
exec xmodmap ~/.config/Xmodmap &
exec mpd &
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 &
exec dstartup &
exec xephyr-helper &
exec xhost +si:localuser:"$USER" &
no-hdmi-port.sh && with-hdmi-port.sh &
# 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