summaryrefslogtreecommitdiff
path: root/.local/bin/displayselect
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-13 17:33:24 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-13 17:33:24 -0500
commitd3d4381b296912577550ae1d0310dbc35f7f98cd (patch)
treea3268f3474f6af6a7a15ef6a763972e89805a96a /.local/bin/displayselect
parent7838c38253bb1a311c8fa96848802402fbf6b9eb (diff)
sxhkd housekeeping and debloat
Diffstat (limited to '.local/bin/displayselect')
-rwxr-xr-x.local/bin/displayselect7
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/displayselect b/.local/bin/displayselect
new file mode 100755
index 0000000..2b87894
--- /dev/null
+++ b/.local/bin/displayselect
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+layoutdir="$XDG_CONFIG_HOME/screenlayout"
+
+layout="$(ls "$layoutdir" | dmenu -p "󰍺 Select layout: ")"
+
+[ -z "$layout" ] || sh "$layoutdir/$layout"