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 442 B

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