Skip to content

Instantly share code, notes, and snippets.

@cirrusUK
Created November 2, 2014 00:08
Show Gist options
  • Select an option

  • Save cirrusUK/4ec1cc8ffeb1881cbfc8 to your computer and use it in GitHub Desktop.

Select an option

Save cirrusUK/4ec1cc8ffeb1881cbfc8 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
setxkbmap gb
BROWSER=firefox
EDITOR=nano
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
##Autostarts
xrandr --output DIN --off --output DVI-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-0 --mode 1920x1080 --pos 0x0 --rotate normal &
#compton -CGb -i 0.7 -e 0.7 -m 0.7 -fF &
#~/.screenlayout/screens.sh &
xset -dpms; xset s off &
compton --config ~/.compton.conf &
sh ~/.fehbg &
sh ~/dzen.sh &
dwb &
tickr &
conky | while read -r; do xsetroot -name "$REPLY"; done &
gmail-notify &
firefox &
##WM
#exec awesome
#exec twm
#exec i3
#exec fvwm
exec dwm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment