Update Xorg config files

master
Ian Mancini 4 years ago
parent bda9efa49e
commit a7c02cbb91

@ -1,14 +1,15 @@
[[ -f ~/.Xdefaults ]] && xrdb -merge -I $HOME ~/.Xdefaults #!/bin/sh
#
[ -f ~/.xprofile ] && . ~/.xprofile
export EDITOR="nvim" if [ $HOST = 'ianmethyst-desktop-arch' ]; then
export BROWSER="chromium" xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --off --output DVI-D-0 --off
export TERMINAL={{TERMINAL}} fi
# Here Xfce is kept as default
session=${1:-i3} session=${1:-i3}
case $session in case $session in
i3|i3wm ) exec i3;; i3|i3wm ) exec i3;;
steam|steamos ) steamos-session i3;; steam|steamos ) exec steamos-session;;
* ) exec $1;; * ) exec $1;;
esac esac

@ -0,0 +1,17 @@
#!/bin/sh
[[ -f ~/.Xdefaults ]] && xrdb -merge -I $HOME ~/.Xdefaults
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export EDITOR="nvim"
export BROWSER="chromium"
export TERMINAL="alacritty"
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
Loading…
Cancel
Save