summaryrefslogtreecommitdiff
path: root/.local/bin/displayselect
blob: 2b878948b05caf33e3d6f0e8b568f8cfc09c33d5 (plain)
1
2
3
4
5
6
7
#!/bin/sh

layoutdir="$XDG_CONFIG_HOME/screenlayout"

layout="$(ls "$layoutdir" | dmenu -p "󰍺 Select layout: ")"

[ -z "$layout" ] || sh "$layoutdir/$layout"