Dotfiles, utilities, and other apparatus.
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.

36 lines
849 B

  1. #!/bin/sh
  2. # This can go in /usr/local/bin and, at least on Ubuntu or Debian systems,
  3. # should be pointed at by /usr/share/xsessions/xmonad.desktop. Lately I have
  4. # just been keeping it in ~/bin.
  5. # gnome-settings-daemon &
  6. # Load resources
  7. xrdb -merge .Xresources
  8. xmodmap ~/.xmodmap
  9. xsettingsd &
  10. # Set up an icon tray
  11. trayer --SetDockType true --SetPartialStrut true --edge bottom --align right --widthtype percent --width 10 --height 40 --alpha 10 --tint "0x00ff00" &
  12. # Set the background color
  13. xsetroot -solid midnightblue
  14. eval $(ssh-agent)
  15. # Fire up apps
  16. volumeicon &
  17. redshift-gtk &
  18. gpg-agent --daemon
  19. # xscreensaver -no-splash &
  20. # --sm-disable is apparently "session manager disable".
  21. # I don't really know what that means in practice.
  22. if [ -x /usr/bin/nm-applet ]; then
  23. nm-applet --sm-disable &
  24. fi
  25. # compton -b
  26. exec xmonad-session