Created
April 5, 2013 15:35
-
-
Save anonymous/5320249 to your computer and use it in GitHub Desktop.
.xinitrc
This file contains 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 | |
# | |
# ~/.xinitrc | |
# | |
# Executed by startx (run your window manager from here) | |
if [ -d /etc/X11/xinit/xinitrc.d ]; then | |
for f in /etc/X11/xinit/xinitrc.d/*; do | |
[ -x "$f" ] && . "$f" | |
done | |
unset f | |
fi | |
# allow qt themes to import from gtk | |
#export GTK2_RC_FILES="$HOME/.gtkrc-2.0" | |
# start xfce panel | |
xfce4-panel & | |
# start urxvt daemon | |
urxvtd -q -f -o | |
# set background with nitrogen | |
nitrogen --restore & | |
# turn numlock on | |
numlockx & | |
# set cursor | |
xsetroot -cursor_name left_ptr | |
# hide idle mouse | |
unclutter -idle 3 -root & | |
# rebind capslock key | |
xmodmap -e 'remove lock = Caps_Lock' | |
xmodmap -e 'keysym Caps_Lock = ISO_Level5_Shift' | |
xmodmap -e 'add mod3 = ISO_Level5_Shift' | |
# start thunar daemon | |
thunar --daemon & | |
# start yapan | |
yapan & | |
# start dropbox daemon | |
dropboxd & | |
# load nvidia driver settings | |
nvidia-settings --load-config-only | |
# start xmonad | |
#exec ck-launch-session dbus-launch xmonad | |
#exec xmonad | |
#exec wingo | |
exec bash -c '(/usr/bin/wingo -p 1 && cat)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment