diff --git a/src/speedwm-utils b/src/speedwm-utils index cb4a118..e89a333 100755 --- a/src/speedwm-utils +++ b/src/speedwm-utils @@ -76,9 +76,10 @@ L11="$(printf "L11: Bottom Stack (Horizontal)\n")" L12="$(printf "L12: Grid (Horizontal)\n")" L13="$(printf "L13: Dynamic Grid\n")" L14="$(printf "L14: Custom\n")" +L15="$(printf "L15: Empty\n")" case "$1" in -"layout") SEL_LAYOUT=$(printf "${L1}\n${L2}\n${L3}\n${L4}\n${L5}\n${L6}\n${L7}\n${L8}\n${L9}\n${L10}\n${L11}\n${L12}\n${L13}\n${L14}\nPrevious Layout\nNext Layout\nEnter S expression" | $RUNLAUNCHER -l 21 -p "Pick a layout: ") ;; +"layout") SEL_LAYOUT=$(printf "${L1}\n${L2}\n${L3}\n${L4}\n${L5}\n${L6}\n${L7}\n${L8}\n${L9}\n${L10}\n${L11}\n${L12}\n${L13}\n${L14}\n${L15}\nPrevious Layout\nNext Layout\nEnter S expression" | $RUNLAUNCHER -l 21 -p "Pick a layout: ") ;; "reloadcolors") speedwm -s "#cmd:65" ;; "list") sed 's|speedwm -s "#cmd:||g; s|"||g; s| - ||g; s@|@-@g' /usr/share/speedwm/example.signal | head -n "$(expr "$(cat /usr/share/speedwm/example.signal | wc -l)" - 1)" ;; "help") HELP ;; @@ -111,5 +112,6 @@ case "$SEL_LAYOUT" in "L12: Grid (Horizontal)") speedwm -s "#cmd:12" ;; "L13: Dynamic Grid") speedwm -s "#cmd:13" ;; "L14: Custom") speedwm -s "#cmd:1" && speedwm -s "#cmd:17" ;; +"L15: Empty") speedwm -s "#cmd:113" ;; "Enter S expression") speedwm -s "#cmd:15" ;; esac