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.

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