My scripts for startup, dmenu, and the command line
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/sh
- setxkbmap -option caps:swapescape
- picom -b
- ~/.fehbg
-
- # relaunch DWM if the binary changes, otherwise bail
- csum=$(sha1sum $(which dwm.winkey))
- new_csum=""
- while true
- do
- if [ "$csum" != "$new_csum" ]
- then
- csum=$new_csum
- dwm-statusbar &
- pid=$!
- pulseaudio -k
- dwm.winkey &
- pid="$pid $!"
- xbindkeys -f $HOME/Backups/configs/xbindkeysrc
- wait $pid
- else
- exit 0
- fi
- new_csum=$(sha1sum $(which dwm.winkey))
- sleep 0.5
- done
|