commit 242407f91f289394de1febfe4b23d8c81fbe154e parent a3049102334ac67b9cff5cc3af6c1a15967a58c8 Author: pyratebeard <root@pyratebeard.net> Date: Sun, 26 May 2024 20:52:02 +0100 fix(rundmc): move xrandr commands to scripts Diffstat:
M | bin/.local/bin/rundmc | | | 17 | ++--------------- |
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/bin/.local/bin/rundmc b/bin/.local/bin/rundmc @@ -70,21 +70,8 @@ case $submenu in display) display=$(echo -e "lair\nwork" | dmenu $=RICE -p "where am i?") case $display in - lair) xrandr --output HDMI-2 \ - --mode 1920x1080 \ - --pos 1920x0 \ - --rotate normal \ - --output DVI-D-1 \ - --primary \ - --mode 1920x1080 \ - --rotate normal ; herbstclient reload ;; - work) xrandr --output HDMI-2 \ - --primary \ - --mode 1920x1080 \ - --pos 1920x0 \ - --rotate normal \ - --output DVI-D-1 \ - --off ; herbstclient reload ;; + lair) ~/.screenlayout/dual-monitor.sh ;; + work) ~/.screenlayout/single-monitor.sh ;; *) wat ;; esac ;; *) exit ;;