From 9b610ceb706a259a157521c45a1418e0f4a109f6 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 28 Oct 2018 10:58:47 +0000 Subject: [PATCH] =?UTF-8?q?[zsh]=20remove=20r=C3=A4nder=20(in=20favour=20o?= =?UTF-8?q?f=20autorandr)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/.zshrc.local | 44 -------------------------------------------- 1 file changed, 44 deletions(-) diff --git a/home/.zshrc.local b/home/.zshrc.local index 5d57948..0bfe52b 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -66,50 +66,6 @@ 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 VIRTUAL1 --off \ - --output eDP1 --primary --mode 1920x1080 --pos 0x632 --rotate normal \ - --output DP1 --off \ - --output DP2-1 --off \ - --output DP2-2 --mode 1920x1200 --pos 1920x0 --rotate normal \ - --output DP2-3 --off \ - --output HDMI2 --off \ - --output HDMI1 --off \ - --output DP2 --off - ;; - "solo") - xrandr \ - --output VIRTUAL1 --off \ - --output eDP1 --primary --mode 1920x1080 --rotate normal \ - --output DP1 --off \ - --output DP2-1 --off \ - --output DP2-2 --off \ - --output DP2-3 --off \ - --output HDMI2 --off \ - --output HDMI1 --off \ - --output DP2 --off - ;; - "auto") - xrandr --auto - ;; - "manual") - arandr - ;; - *) - echo "Invalid Preset" - notify-send "ränder" "Invalid Preset $1" - invalid="true" - ;; - esac - [ -z $invalid ] && notify-send "ränder" "Switched to $1" - ) -} - ## Timer function timer() { (