Another copy of my dotfiles. Because I don't completely trust GitHub.
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.

88 lines
2.4 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. #!/bin/bash
  2. pkill -f clipmenud
  3. pkill -9 devmon
  4. pkill -f "bash /sbin/clipmenud"
  5. pkill -f "/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh"
  6. pkill -f devmon
  7. echo "$DBUS_SESSION_BUS_ADDRESS" > /tmp/bus-session
  8. rm -rf $XDG_RUNTIME_DIR/day_cache
  9. export XSESSION_PID="$$"
  10. source ~/.config/config.env
  11. gpgconf --dry-run --create-socketdir
  12. #eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
  13. #export SSH_AUTH_SOCK
  14. clipmenud > $XDG_RUNTIME_DIR/clipmenud.out 2> $XDG_RUNTIME_DIR/clipmenud.err &
  15. rm -f ~/.surf/tabbed-surf.xid
  16. /bin/polkit-dumb-agent &
  17. ~/.local/bin/daily-update
  18. ~/.local/bin/keyboard > $XDG_RUNTIME_DIR/keyboard.out 2> $XDG_RUNTIME_DIR/keyboard.err
  19. xrdb ~/.config/X11/Xresources &
  20. ~/.local/bin/mailsync &
  21. if [ "$NEXTCLOUD" = true ] ; then
  22. nextcloud --background &
  23. fi
  24. mkdir -p ~/Downloads/neomutt
  25. if [ "$MCONNECT" = true ] ; then
  26. mkdir -p ~/Downloads/mconnect
  27. (cd ~/Downloads/mconnect; mconnect -d > $XDG_RUNTIME_DIR/mconnect 2> $XDG_RUNTIME_DIR/mconnect.err &)
  28. fi
  29. if [ "$ACTIVITYWATCHER" = true ] ; then
  30. pkill -f aw-watcher-window
  31. pkill -f aw-watcher-afk
  32. pkill -f aw-server
  33. aw-server &
  34. aw-watcher-window &
  35. aw-watcher-afk &
  36. fi
  37. mpd
  38. mpd-mpris &
  39. touch ~/.cache/nextcloud-track
  40. xss-lock -- slock &
  41. picom --no-fading-openclose &
  42. ~/.local/bin/firefox-sync
  43. curl 'http://yeetclock/setcolor?R=136&G=192&B=208' &
  44. dunst &
  45. xbanish -s &
  46. pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga x11-bell
  47. pactl load-module module-x11-bell sample=x11-bell display=$DISPLAY
  48. xset b 100
  49. xset dpms 600 600 600
  50. ~/.local/bin/devmon --exec-on-drive "/sbin/notify-send '禍 drive mounted' '%l (%f) at %d '" \
  51. --exec-on-remove "/sbin/notify-send '禍 drive removed' '%l (%f) from %d '" \
  52. --exec-on-unmount "/sbin/notify-send '禍 drive unmounted' '%l (%f) from %d '" \
  53. --no-unmount --no-gui &
  54. #$BROWSER &
  55. #pass 2> /dev/null > /dev/null && qtpass &
  56. redshift -x 2> /dev/null > /dev/null
  57. redshift -r -l "$LATLONG" > /dev/null 2> /dev/null &
  58. tmux new-session -s weechat -d weechat > /dev/null 2> /dev/null
  59. restarted=0
  60. while true;
  61. do
  62. if [ $restarted = 0 ]; then
  63. restarted=1
  64. else
  65. notify-send -a " Desktop Manager" "Dwm Restarted"
  66. fi
  67. dwmblocks > $XDG_RUNTIME_DIR/dwmblocks.out 2> $XDG_RUNTIME_DIR/dwmblocks.err &
  68. dwm > $XDG_RUNTIME_DIR/dwm.log 2> $XDG_RUNTIME_DIR/dwm.err
  69. sleep 0.5
  70. done
  71. firefox-sync