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.

70 lines
2.1 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
4 years ago
  1. #! /bin/sh
  2. pkill -f clipmenud
  3. pkill -f dunst
  4. pkill -9 devmon
  5. pkill -f "bash /sbin/clipmenud"
  6. pkill -f "/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh"
  7. pkill -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
  8. pkill -f devmon
  9. rm -rf /tmp/day_cache
  10. source ~/.config.env
  11. eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
  12. systemctl --user import-environment DISPLAY
  13. export SSH_AUTH_SOCK
  14. clipmenud > /tmp/clipmenud.out 2> /tmp/clipmenud.err &
  15. rm -f ~/.surf/tabbed-surf.xid
  16. /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  17. ~/.scripts/daily-update
  18. ~/.keyboard > /tmp/keyboard.out 2> /tmp/keyboard.err
  19. xrdb ~/.Xresources &
  20. ~/.scripts/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 > /tmp/mconnect 2> /tmp/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. touch ~/.cache/nextcloud-track
  38. xss-lock -- /home/yigit/.scripts/lock &
  39. echo "on" > ~/.cache/dunst
  40. echo "on" > ~/.cache/screensaver
  41. dbus-update-activation-environment --systemd DISPLAY
  42. picom --no-fading-openclose &
  43. brave-start &
  44. bitwarden-desktop &
  45. curl 'http://yeetclock/setcolor?R=136&G=192&B=208' &
  46. xbanish -t 2000 -s &
  47. pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga x11-bell
  48. pactl load-module module-x11-bell sample=x11-bell display=$DISPLAY
  49. xset b 100
  50. xset dpms 600 600 600
  51. dunst &
  52. ~/.scripts/devmon --exec-on-drive "/sbin/notify-send ' Drive Mounted' '%l (%f) at %d '" \
  53. --exec-on-remove "/sbin/notify-send ' Drive Removed' '%l (%f) from %d '" \
  54. --exec-on-unmount "/sbin/notify-send ' Drive Unmounted' '%l (%f) from %d '" &
  55. touch ~/.cache/dwm-restart
  56. while [ -f /home/yigit/.cache/dwm-restart ];
  57. do
  58. rm -rf /home/yigit/.cache/dwm-restart
  59. dwmblocks > /tmp/dwmblocks.out 2> /tmp/dwmblocks.err &
  60. dwm > /tmp/dwm.log 2> /tmp/dwm.err
  61. sleep 0.2
  62. done