My scripts for startup, dmenu, and the command line
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

dwm-start 392 B

12345678910111213141516171819202122
  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