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
|
# as far as I can tell, this file is only executed when you run startx from the
|
||||||
# TTY
|
# TTY
|
||||||
|
|
||||||
|
# you probably want to modify xprofile
|
||||||
|
|
||||||
echo '' > "$HOME/.xstartup_log"
|
echo '' > "$HOME/.xstartup_log"
|
||||||
echo "xinitrc" >> "$HOME/.xstartup_log"
|
echo "xinitrc" >> "$HOME/.xstartup_log"
|
||||||
|
|
||||||
|
@ -20,21 +22,24 @@ if [ -f "$HOME/.xmodmap" ]; then
|
||||||
xmodmap "$HOME/.xmodmap"
|
xmodmap "$HOME/.xmodmap"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "a" > ~/.xinitrc.log
|
||||||
|
|
||||||
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
||||||
export SSH_AUTH_SOCK
|
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 -fork &
|
||||||
autocutsel -selection PRIMARY -fork &
|
# autocutsel -selection PRIMARY -fork &
|
||||||
|
# autocutsel -selection SECONDARY -fork &
|
||||||
|
|
||||||
# fire up wm
|
# fire up wm
|
||||||
exec "$DOTFILES_PATH/de/wmstart"
|
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 &
|
redshift -r -l 39.0997:-94.5786 -t 6500K:3000K &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "$HOME/.xmodmap" ]; then
|
||||||
|
xmodmap "$HOME/.xmodmap"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f "$HOME/.env_xprofile" ]; then
|
if [ -f "$HOME/.env_xprofile" ]; then
|
||||||
source "$HOME/.env_xprofile"
|
source "$HOME/.env_xprofile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
xcape -e 'Control_L=Escape' &
|
||||||
|
|
||||||
|
autocutsel -fork &
|
||||||
|
autocutsel -selection PRIMARY -fork &
|
||||||
|
|
Reference in a new issue