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.

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