aboutsummaryrefslogtreecommitdiffstats
path: root/sway-launcher-desktop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sway-launcher-desktop.sh')
-rwxr-xr-xsway-launcher-desktop.sh2
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}"
}