xinitrc 1003 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/sh
  2. ##### My (demuredemeanor) .xinitrc
  3. # Uses shiftwidth=4 for tabs; foldmarker={{{,}}} for folds;
  4. # https://notabug.org/demure/dotfiles/
  5. # legacy repo http://github.com/demure/dotfiles
  6. ## So I have a background other than the one from update-alternitives
  7. sh ~/.fehbg &
  8. ## Fix my sound? damn pusle per user
  9. pulseaudio --start
  10. ## To make my keyboard better
  11. usermodmap=$HOME/.Xmodmap
  12. if [ -f $usermodmap ]; then
  13. /usr/bin/xmodmap $usermodmap
  14. fi
  15. ## Makes lid close work, among other things
  16. # still need to test this one
  17. /usr/bin/xfce4-power-manager &
  18. ## auto lock
  19. xss-lock -- i3lock -c 2E3436 &
  20. ## Uses spectrwm instead of distasteful gnome 3 :p
  21. #exec ck-launch-session dbus-launch /usr/local/bin/spectrwm
  22. ## git install
  23. # dont forget about $(xinit /usr/local/bin/spectrwm -- :1 &) for testing
  24. exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/local/bin/spectrwm
  25. ## system install
  26. #exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/spectrwm