My configuration files for Debian/Ubuntu applications
 
 
 
 
 
 

29 linhas
510 B

  1. #!/bin/bash
  2. setxkbmap -option ctrl:swapcaps -option tilde:swapescape
  3. source ~/.profile
  4. picom -b
  5. ~/.fehbg
  6. xbindkeys -f $HOME/Source/configs/xbindkeysrc
  7. mkfifo /tmp/torrents.fifo
  8. # aria2 downloads should be resumed here
  9. ( mru update; mru updatedirs ) &
  10. # relaunch DWM if the binary changes, otherwise bail
  11. csum=$(sha1sum $(which dwm))
  12. new_csum=""
  13. while true
  14. do
  15. if [ "$csum" != "$new_csum" ]
  16. then
  17. csum=$new_csum
  18. dwm-statusbar &
  19. dwm
  20. else
  21. exit 0
  22. fi
  23. new_csum=$(sha1sum $(which dwm))
  24. sleep 0.5
  25. done