Don't use list of workspaces for renaming

This commit is contained in:
David Holland 2020-03-27 00:48:15 +01:00
parent 1631cce248
commit 0270c9dfae
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9

View file

@ -13,7 +13,7 @@ case $1 in
dmenu_string="Swap and follow desktop with desktop: " ;; dmenu_string="Swap and follow desktop with desktop: " ;;
esac esac
if [[ $1 == "delete" ]]; then if [[ $1 == "delete" || $1 == "rename" ]]; then
desktop=$(echo "" | dmenu -p "$dmenu_string") desktop=$(echo "" | dmenu -p "$dmenu_string")
else else
if [[ $1 != "bubbleprev" && $1 != "bubblenext" ]]; then if [[ $1 != "bubbleprev" && $1 != "bubblenext" ]]; then