Update a bunch of configs

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-03-26 20:22:01 +01:00
parent 738f83183f
commit 052fb6bada
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
24 changed files with 474 additions and 68 deletions

View file

@ -12,4 +12,16 @@
# USAGE:
# This script is executed when you start the x-server.
. "${XDG_CONFIG_HOME}/X11/xsetup"
i3
# Load different i3 configuration depending on nvidia-xrun is used because
# the monitor names are different.
NVIDIA_CHECK="$(xrandr | grep "eDP-1-1 connected")"
if [ -z "${NVIDIA_CHECK}" ]; then
LOCAL_I3_CONFIG="${XDG_CONFIG_HOME}/i3/config.intel"
else
LOCAL_I3_CONFIG="${XDG_CONFIG_HOME}/i3/config.nvidia"
fi
cat "${LOCAL_I3_CONFIG}" "${XDG_CONFIG_HOME}/i3/config.base" > "${XDG_CONFIG_HOME}/i3/config"
i3