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
  1. #! /bin/sh
  2. # Environment variables
  3. export QT_QPA_PLATFORMTHEME="qt5ct"
  4. export _JAVA_AWT_WM_NONREPARENTING=1
  5. export AWT_TOOLKIT=MToolkit
  6. export SHELL=/bin/zsh
  7. export TERMINAL=/usr/local/bin/st
  8. export TERM=st
  9. export ANDROID_HOME=~/Android/Sdk
  10. export FLUTTER_HOME=~/flutter
  11. export TMUX_PLUGIN_MANAGER_PATH=~/.tmux/plugins
  12. export BORG_KEYS_DIR=~/.keys/borg
  13. export BROWSER=~/.scripts/tabbed_surf
  14. export EDITOR=vim
  15. # Setup PATH
  16. export PATH="~/.scripts/:~/.local/bin/:$PATH"
  17. export CM_SYNC_PRIMARY_TO_CLIPBOARD=1
  18. export PATH=$PATH:$ANDROID_HOME/tools
  19. export PATH=$PATH:$ANDROID_HOME/platform-tools
  20. export PATH=$PATH:$FLUTTER_HOME/bin
  21. pkill -f aw-watcher-window
  22. pkill -f aw-watcher-afk
  23. pkill -f aw-server
  24. pkill -f clipmenud
  25. pkill -f "bash /sbin/clipmenud"
  26. pkill -f "/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh"
  27. pkill -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
  28. source ~/.config.env
  29. # setxkbmap tr
  30. # ~/.scripts/tabbed_surf &
  31. eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
  32. export SSH_AUTH_SOCK
  33. clipmenud > /tmp/clipmenud.out 2> /tmp/clipmenud.err &
  34. rm -f ~/.surf/tabbed-surf.xid
  35. /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  36. feh --bg-fill /home/yigit/.dotfiles/backgrounds/wallpaper.jpg #Backgroun
  37. xrdb ~/.Xresources &
  38. dwmblocks > /tmp/dwmblocks.out 2> /tmp/dwmblocks.err &
  39. if [ "$NEXTCLOUD" = true ] ; then
  40. nextcloud --background &
  41. fi
  42. if [ "$MCONNECT" = true ] ; then
  43. /usr/local/bin/mconnect -d > /tmp/mconnect 2> /tmp/mconnect.err &
  44. fi
  45. xss-lock -- /home/yigit/.scripts/lock &
  46. # aw-server &
  47. # aw-watcher-window &
  48. # aw-watcher-afk &
  49. echo "on" > ~/.cache/dunst
  50. echo "on" > ~/.cache/screensaver
  51. dbus-update-activation-environment --systemd DISPLAY
  52. picom --no-fading-openclose &
  53. firefox-developer-edition app.daily.dev&
  54. bitwarden-desktop &
  55. curl 'http://yeetclock/setcolor?R=136&G=192&B=208' &
  56. ~/.keyboard
  57. xbanish -t 2000 -s &
  58. pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga x11-bell
  59. pactl load-module module-x11-bell sample=x11-bell display=$DISPLAY
  60. dunst &
  61. csum=""
  62. new_csum=$(sha1sum $(which dwm))
  63. while true
  64. do
  65. if [ "$csum" != "$new_csum" ]
  66. then
  67. csum=$new_csum
  68. dwm > /tmp/dwm.log 2> /tmp/dwm.err
  69. else
  70. exit 0
  71. fi
  72. new_csum=$(sha1sum $(which dwm))
  73. sleep 0.5
  74. done