summaryrefslogtreecommitdiff
path: root/.local/bin/monselect
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/monselect')
-rwxr-xr-x.local/bin/monselect4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/monselect b/.local/bin/monselect
new file mode 100755
index 0000000..7ef0646
--- /dev/null
+++ b/.local/bin/monselect
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Acquire the list of connected displays
+displays="$(wlr-randr --json | jq -r '.[] | select(.enabled) | .name' | tofi)"