diff options
| -rwxr-xr-x | sway-launcher-desktop.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index becf7ba..c050eb1 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -65,7 +65,7 @@ function describe-desktop() { function describe-command() { readarray arr < <(whatis -l "$1" 2>/dev/null) description="${arr[0]}" - description="${description%*-}" + description="${description#* - }" echo -e "\033[33m${1}\033[0m" echo "${description:-No description}" } |
