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.

34 lines
769 B

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. export XSESSION_PID="$$"
  10. source ~/.config/config.env
  11. pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga x11-bell
  12. pactl load-module module-x11-bell sample=x11-bell display=$DISPLAY
  13. xset b 100
  14. xset dpms 600 600 600
  15. xrdb ~/.config/X11/Xresources &
  16. restarted=0
  17. while true;
  18. do
  19. if [ $restarted = 0 ]; then
  20. restarted=1
  21. else
  22. notify-send -a " Desktop Manager" "Dwm Restarted"
  23. fi
  24. dwm > $XDG_RUNTIME_DIR/dwm.log 2> $XDG_RUNTIME_DIR/dwm.err
  25. sleep 0.5
  26. done