Fix xinit scripts?
This commit is contained in:
parent
8da7641f32
commit
08c524d75d
19
de/x/initrc
19
de/x/initrc
|
@ -3,6 +3,8 @@
|
|||
# as far as I can tell, this file is only executed when you run startx from the
|
||||
# TTY
|
||||
|
||||
# you probably want to modify xprofile
|
||||
|
||||
echo '' > "$HOME/.xstartup_log"
|
||||
echo "xinitrc" >> "$HOME/.xstartup_log"
|
||||
|
||||
|
@ -20,21 +22,24 @@ if [ -f "$HOME/.xmodmap" ]; then
|
|||
xmodmap "$HOME/.xmodmap"
|
||||
fi
|
||||
|
||||
echo "a" > ~/.xinitrc.log
|
||||
|
||||
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
||||
export SSH_AUTH_SOCK
|
||||
|
||||
xcape -e 'Control_L=Escape' &
|
||||
# xcape -e 'Control_L=Escape' &
|
||||
|
||||
pulseaudio --start &
|
||||
# pulseaudio --start &
|
||||
|
||||
xset s off -dpms &
|
||||
# xset s off -dpms &
|
||||
|
||||
redshift &
|
||||
# redshift &
|
||||
|
||||
urxvtd &
|
||||
# urxvtd &
|
||||
|
||||
autocutsel -fork &
|
||||
autocutsel -selection PRIMARY -fork &
|
||||
# autocutsel -fork &
|
||||
# autocutsel -selection PRIMARY -fork &
|
||||
# autocutsel -selection SECONDARY -fork &
|
||||
|
||||
# fire up wm
|
||||
exec "$DOTFILES_PATH/de/wmstart"
|
||||
|
|
|
@ -32,6 +32,15 @@ if command -v redshift >/dev/null 2>&1; then
|
|||
redshift -r -l 39.0997:-94.5786 -t 6500K:3000K &
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.xmodmap" ]; then
|
||||
xmodmap "$HOME/.xmodmap"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.env_xprofile" ]; then
|
||||
source "$HOME/.env_xprofile"
|
||||
fi
|
||||
|
||||
xcape -e 'Control_L=Escape' &
|
||||
|
||||
autocutsel -fork &
|
||||
autocutsel -selection PRIMARY -fork &
|
||||
|
|
Reference in a new issue