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.

79 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
  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 -- betterlockscreen -l -t 'Stay the fuck out!' &
  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. ~/.keyboard
  56. #thunderbird &
  57. dunst &
  58. csum=""
  59. new_csum=$(sha1sum $(which dwm))
  60. while true
  61. do
  62. if [ "$csum" != "$new_csum" ]
  63. then
  64. csum=$new_csum
  65. dwm > /tmp/dwm.log 2> /tmp/dwm.err
  66. else
  67. exit 0
  68. fi
  69. new_csum=$(sha1sum $(which dwm))
  70. sleep 0.5
  71. done