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.

26 lines
491 B

  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. protonmail-bridge --no-window --noninteractive &
  8. ( mru update; mru updatedirs ) &
  9. # relaunch DWM if the binary changes, otherwise bail
  10. csum=$(sha1sum $(which dwm))
  11. new_csum=""
  12. while true
  13. do
  14. if [ "$csum" != "$new_csum" ]
  15. then
  16. csum=$new_csum
  17. dwm-statusbar &
  18. dwm
  19. else
  20. exit 0
  21. fi
  22. new_csum=$(sha1sum $(which dwm))
  23. sleep 0.5
  24. done