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.

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. setxkbmap -option ctrl:swapcaps -option tilde:swapescape
  3. source ~/.profile
  4. picom -b
  5. ~/.fehbg
  6. xbindkeys -f $HOME/backups/configs/xbindkeysrc
  7. ( mru update; mru updatedirs; ) &
  8. # relaunch DWM if the binary changes, otherwise bail
  9. csum=$(sha1sum $(which dwm))
  10. new_csum=""
  11. while true
  12. do
  13. if [ "$csum" != "$new_csum" ]
  14. then
  15. csum=$new_csum
  16. dwm-statusbar &
  17. dwm
  18. else
  19. exit 0
  20. fi
  21. new_csum=$(sha1sum $(which dwm))
  22. sleep 0.5
  23. done