My scripts for startup, dmenu, and the command line
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

dwm-start 413 B

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