diff --git a/home/.zshrc.local b/home/.zshrc.local index 31c8195..fcff826 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -81,7 +81,7 @@ transfer() { fi cat $tmpfile rm -f $tmpfile -} +} ## Touchpad enabling/disabling @@ -102,6 +102,41 @@ eval "$(dircolors -b $HOME/.dircolors)" ## Color switcher alias dynamic-colors="~/.dynamic-colors/bin/dynamic-colors" +## Screen settings +function ränder() { + case "$1" in + "office") + xrandr \ + --output VGA-1 --off \ + --output LVDS-1 --primary --mode 1280x800 --pos 0x721 --rotate normal \ + --output HDMI-3 --mode 1920x1200 --pos 1280x0 --rotate normal \ + --output HDMI-2 --off \ + --output HDMI-1 --off \ + --output DP-3 --off \ + --output DP-2 --off \ + --output DP-1 --off + ;; + "solo") + xrandr \ + --output VGA-1 --off \ + --output LVDS-1 --primary --mode 1280x800 --rotate normal \ + --output HDMI-3 --off \ + --output HDMI-2 --off \ + --output HDMI-1 --off \ + --output DP-3 --off \ + --output DP-2 --off \ + --output DP-1 --off + ;; + "auto") + xrandr --auto + ;; + *) + echo "Invalid Preset" + ;; + esac + feh --bg-fill ~/bg.jpg +} + # Bugs ## silversearcher-ag and not apt-get