aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2025-07-10 22:32:00 +0200
committerGibheer <gibheer+git@zero-knowledge.org>2025-07-10 22:32:00 +0200
commit54b7660e276eda1e9588bc0aae67dc5584c2c2bd (patch)
treebb9d0fa69a5b7b88396368aba3ea7ff96c5ca96c /bin
parent5bc5c6471214bc57665380640eee1790a9d6db22 (diff)
add hyprland config
Diffstat (limited to 'bin')
-rwxr-xr-xbin/monitor10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/monitor b/bin/monitor
new file mode 100755
index 0000000..34218c2
--- /dev/null
+++ b/bin/monitor
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+if [ -z "$1" ]; then
+ exit 1
+fi
+
+if [ "$1" -eq "0" ]; then
+ hyprctl keyword monitor DP-2,disable
+else
+ hyprctl keyword monitor DP-2,preferred,auto-left,1
+fi