diff --git a/home/.zshrc.local b/home/.zshrc.local index bc6285f..5d57948 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -71,37 +71,28 @@ function ränder() { ( case "$1" in "office") - xrandr \ - --output VGA-1 --off \ - --output LVDS-1 --primary --mode 1280x800 --pos 0x720 --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 - ;; - "officealt") - xrandr \ - --output VGA-1 --off \ - --output LVDS-1 --primary --mode 1280x800 --pos 0x1000 --rotate normal \ - --output HDMI-3 --mode 1920x1200 --pos 1280x0 --rotate left \ - --output HDMI-2 --off \ - --output HDMI-1 --off \ - --output DP-3 --off \ - --output DP-2 --off \ - --output DP-1 --off + 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 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 + 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 @@ -111,12 +102,11 @@ function ränder() { ;; *) echo "Invalid Preset" - notify-send "ränder" "Invalid Preset $1" -i ~/.local/share/icons/Paper/48x48/devices/video-display.png + notify-send "ränder" "Invalid Preset $1" invalid="true" ;; esac - [ -z $invalid ] && notify-send "ränder" "Switched to $1" -i ~/.local/share/icons/Paper/48x48/devices/video-display.png - feh --bg-fill ~/bg.jpg + [ -z $invalid ] && notify-send "ränder" "Switched to $1" ) }