Created
February 19, 2017 22:36
-
-
Save schlueter/e2c203fa485329ba5ff983805c229dce to your computer and use it in GitHub Desktop.
My xinitrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Set cursor | |
xsetroot -cursor_name left_ptr & | |
# Set background | |
xsetroot -solid black & | |
feh --bg-center background.png & | |
# Enable a second monitor if present | |
xrandr --output eDP1 --auto --output HDMI2 --auto --right-of eDP1 & | |
# Start a terminal session | |
terminology --exec 'tmux attach || tmux new' & | |
# Enable horizontal scroll on track pads | |
synclient HorizTwoFingerScroll=1 & | |
# Setup keychain | |
eval $(gnome-keyring-daemon --start) & | |
export GNOME_KEYRING_SOCKET GNOME_KEYRING_PID SSH_AUTH_SOCK | |
# Start dropbox | |
./.dropbox-dist/dropboxd & | |
# Start window manager | |
exec xmonad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment