From 45f61ff80062ec9137c0d77f3b732bc1a4f59179 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 20 Dec 2020 16:32:59 -0500 Subject: updated url handler, started merging with yt.sh; merged screen modes, locker into dockd for automatic docking display swap --- toggle-docked.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 toggle-docked.sh (limited to 'toggle-docked.sh') diff --git a/toggle-docked.sh b/toggle-docked.sh deleted file mode 100755 index a04540e..0000000 --- a/toggle-docked.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -big=2560x1440 -little=1920x1080 -is_docked=$(xrandr | grep DP-2 | cut -w -f2) - -if [ "$is_docked" = "connected" ]; then - xrandr \ - --output DP-0 --off \ - --output DP-1 --off \ - --output DP-2 --primary --mode $big --pos 0x0 --rotate normal \ - --output DP-3 --scale-from $big --same-as DP-2 --rotate normal \ - --output DP-4 --off \ - --output VGA-0 --off \ - && killall xautolock - autolocker.sh -d & -else - xrandr \ - --output DP-0 --off \ - --output DP-1 --off \ - --output DP-2 --off \ - --output DP-3 --primary --mode $little --transform none --pos 0x0 --rotate normal \ - --output DP-4 --off \ - --output VGA-0 --off \ - && killall xautolock - autolocker.sh & -fi -- cgit v1.2.3