Skip to content

Instantly share code, notes, and snippets.

Created April 5, 2013 15:35
Show Gist options
  • Save anonymous/5320249 to your computer and use it in GitHub Desktop.
Save anonymous/5320249 to your computer and use it in GitHub Desktop.
.xinitrc
#!/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