old-dotfiles/bin/bspwm_rename_desktop

14 lines
230 B
Bash
Executable File

#!/bin/bash
DMENU_NF="#A3A6AB"
DMENU_NB="#34322E"
DMENU_SF="#F6F9FF"
DMENU_SB="#5C5955"
DESKTOP_NAME=`echo '' | dmenu -b $DMENU_THEME -p 'Rename:'`
if [ -z $DESKTOP_NAME ]; then
exit 0
fi
bspc desktop -n "$DESKTOP_NAME"