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/x/initrc

46 lines
864 B
Text
Raw Normal View History

2017-02-07 16:16:45 -06:00
#!/bin/sh
# as far as I can tell, this file is only executed when you run startx from the
# TTY
2018-11-19 13:25:18 -06:00
# you probably want to modify xprofile
echo '' > "$HOME/.xstartup_log"
echo "xinitrc" >> "$HOME/.xstartup_log"
2017-02-07 16:16:45 -06:00
# 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
2017-04-14 07:49:01 -05:00
if [ -f "$HOME/.xmodmap" ]; then
xmodmap "$HOME/.xmodmap"
fi
2018-11-19 13:25:18 -06:00
echo "a" > ~/.xinitrc.log
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
2018-11-19 13:25:18 -06:00
# xcape -e 'Control_L=Escape' &
2018-11-19 13:25:18 -06:00
# pulseaudio --start &
2018-11-19 13:25:18 -06:00
# xset s off -dpms &
2017-07-29 19:05:26 -05:00
2018-11-19 13:25:18 -06:00
# redshift &
2018-11-03 14:06:15 -05:00
2018-11-19 13:25:18 -06:00
# urxvtd &
2018-08-09 09:40:14 -05:00
2018-11-19 13:25:18 -06:00
# autocutsel -fork &
# autocutsel -selection PRIMARY -fork &
# autocutsel -selection SECONDARY -fork &
2017-02-07 16:16:45 -06:00
# fire up wm
exec "$DOTFILES_PATH/de/bspwm/wmstart"