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"
export BROWSER="chromium"
export TERMINAL={{TERMINAL}}
if [ $HOST = 'ianmethyst-desktop-arch' ]; then
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
fi
# Here Xfce is kept as default
session=${1:-i3}
case $session in
i3|i3wm ) exec i3;;
steam|steamos ) steamos-session i3;;
steam|steamos ) exec steamos-session;;
* ) exec $1;;
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