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.

23 line
391 B

  1. #!/bin/sh
  2. setxkbmap -option caps:swapescape
  3. picom -b
  4. ~/.fehbg
  5. # relaunch DWM if the binary changes, otherwise bail
  6. csum=$(sha1sum $(which dwm.winkey))
  7. new_csum=""
  8. while true
  9. do
  10. if [ "$csum" != "$new_csum" ]
  11. then
  12. csum=$new_csum
  13. dwm-statusbar &
  14. xbindkeys -f "$XDG_CONFIG_HOME"/xbindkeys/config
  15. dwm.winkey
  16. else
  17. exit 0
  18. fi
  19. new_csum=$(sha1sum $(which dwm.winkey))
  20. sleep 0.5
  21. done