summaryrefslogtreecommitdiffstats
path: root/.local/bin/scr1
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/scr1')
-rwxr-xr-x.local/bin/scr116
1 files changed, 16 insertions, 0 deletions
diff --git a/.local/bin/scr1 b/.local/bin/scr1
new file mode 100755
index 0000000..8a14124
--- /dev/null
+++ b/.local/bin/scr1
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# randr=$(xrandr --query | grep -A 1 DP-4)
+# if ! printf "%s" "${randr}" | grep 2560x1440+0+0 >/dev/null 2>&1;
+# then
+# # ! printf "%s" "${randr}" | grep '144.00\*';
+# fi
+xrandr --output DP-4 --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal --primary
+xrandr --output HDMI-0 --off
+xrandr --output DP-0 --off
+xrandr --output DP-1 --off
+xrandr --output DP-2 --off
+xrandr --output DP-3 --off
+xrandr --output DP-5 --off
+
+setwp "$HOME"/pics/wp.png