Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #
- # ~/.xinitrc
- #
- # Executed by startx (run your window manager from here)
- xset +fp /usr/share/fonts/local
- xset fp rehash
- if [ -d /etc/X11/xinit/xinitrc.d ]; then
- for f in /etc/X11/xinit/xinitrc.d/*; do
- [ -x "$f" ] && . "$f"
- done
- unset f
- fi
- export GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:$HOME/.gtkrc-2.0"
- [[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
- xbindkeys
- # MPD daemon start (if no other user instance exists)
- [ ! -s ~/.mpd/pid ] && mpd
- case "$1" in
- i3) exec i3;;
- bspwm) exec bspwm;;
- *) exec $DEFAULTSESSION ;;
- esac
- #sxhkd &
- #exec bspwm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement