diff options
Diffstat (limited to 'dotfiles')
-rwxr-xr-x | dotfiles/.local/bin/menuresize | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/menuresize b/dotfiles/.local/bin/menuresize index 8875c45..9d1c028 100755 --- a/dotfiles/.local/bin/menuresize +++ b/dotfiles/.local/bin/menuresize @@ -19,5 +19,8 @@ if [ -n "$1" ]; then fi -direction="$(printf "left\nright\nup\ndown\nwidth\nheight" | rofi -dmenu -matching prefix -p "Select resize direction or dimension")" +direction="$(printf "width\nheight\nleft\nright\nup\ndown" | rofi -dmenu -matching prefix -p "Select resize direction or dimension")" +if [ -z "$direction" ]; then + exit +fi resize "$direction" |