This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/de/xinitrc
Daniel Flanagan 27ce755fac Lots of incremental improvements
* remove irssi since it doesn't have the features I want/need
* add autocutsel for clipboard pains (still needs work)
* tmux is even better now with proper session-switching controls
2018-04-06 17:28:31 -05:00

32 lines
582 B
Bash

#!/bin/sh
# as far as I can tell, this file is only executed when you run startx from the
# TTY
echo '' > "$HOME/.xstartup_log"
echo "xinitrc" >> "$HOME/.xstartup_log"
# load our xprofile
if [ -f "$HOME/.xprofile" ]; then
source "$HOME/.xprofile"
fi
# allow a per-device config to override options
if [ -f "$HOME/.env_xinitrc" ]; then
source "$HOME/.env_xinitrc"
fi
if [ -f "$HOME/.xmodmap" ]; then
xmodmap "$HOME/.xmodmap"
fi
pulseaudio --start &
xset s off -dpms &
autocutsel -fork &
autocutsel -selection PRIMARY -fork &
# fire up wm
exec "$DOTFILES_PATH/de/wmstart"