aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-02-22 22:29:23 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-02-22 22:29:23 +0100
commit9a57b5a5bb5c48bc76bc10c9cbc0809019d91e61 (patch)
tree91512756f8d28569efccd1e91cc063acbbd3f036
parentdd98013fc07bfdfe58413a01f3e5246c6a3eeef1 (diff)
downloaddotfiles-9a57b5a5bb5c48bc76bc10c9cbc0809019d91e61.tar.gz
dotfiles-9a57b5a5bb5c48bc76bc10c9cbc0809019d91e61.tar.bz2
dotfiles-9a57b5a5bb5c48bc76bc10c9cbc0809019d91e61.zip
Added triple screen configuration, fixing XDG env variables
-rwxr-xr-x.xinitrc2
-rw-r--r--.zsh_aliases2
-rw-r--r--.zshrc4
3 files changed, 6 insertions, 2 deletions
diff --git a/.xinitrc b/.xinitrc
index 416489a..3142fc0 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,3 +1,5 @@
+#!/usr/bin/env sh
+
# xinput disable 'ETPS/2 Elantech Touchpad' &
echo 'Starting redshift'
diff --git a/.zsh_aliases b/.zsh_aliases
index e11b209..d588b07 100644
--- a/.zsh_aliases
+++ b/.zsh_aliases
@@ -85,8 +85,10 @@ alias lpassp='lpass show --password --clip' # put password in clipboard
# helper to switch between dual and single monitor setup
alias dual='xrandr --output LVDS1 --primary --left-of VGA1 --output VGA1 --mode 1280x1024'
+alias triple='xrandr --output DVI-0 --mode 1024x768 --left-of DVI-1 --output DVI-1 --mode 1920x1080 --primary --left-of HDMI-0 --output HDMI-0 --mode 1920x1080'
alias single='xrandr --output VGA1 --off'
+
# edit config files
alias zshrc="vim $DOTDIR/.zshrc && source $DOTDIR/.zshrc"
alias zshaliasrc="vim $DOTDIR/.zsh_aliases && source $DOTDIR/.zshrc"
diff --git a/.zshrc b/.zshrc
index 50e737f..6132c12 100644
--- a/.zshrc
+++ b/.zshrc
@@ -79,8 +79,8 @@ export LESS_TERMCAP_ZO=$(tput ssupm)
export LESS_TERMCAP_ZW=$(tput rsupm)
#XDG
-export XDG_CONFIG_HOME="/home/charles/.config/"
-export XDG_DATA_HOME="/home/charles/.data/"
+export XDG_CONFIG_HOME="$HOME/.config/"
+export XDG_DATA_HOME="$HOME/.data/"
export EDITOR="vim"
export TERM="st-256color"