From 9a57b5a5bb5c48bc76bc10c9cbc0809019d91e61 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 22 Feb 2021 22:29:23 +0100 Subject: Added triple screen configuration, fixing XDG env variables --- .xinitrc | 2 ++ .zsh_aliases | 2 ++ .zshrc | 4 ++-- 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" -- cgit