diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-12-17 14:18:45 +0100 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-12-17 14:18:45 +0100 |
| commit | d475d7403383470a260f465dc5d55582fc905b05 (patch) | |
| tree | 1a1f6a38916c8484d31d9846b683e226828ebd89 /sway-launcher-desktop.sh | |
| parent | e45f50830062ec5dcfd1325c511051b039eea634 (diff) | |
| parent | c20c0f471d9ec397f612405482f672a3c7d2e36f (diff) | |
| download | sway-launcher-desktop-d475d7403383470a260f465dc5d55582fc905b05.tar.gz sway-launcher-desktop-d475d7403383470a260f465dc5d55582fc905b05.zip | |
Merge branch 's-hamann-cmd-description'
Diffstat (limited to 'sway-launcher-desktop.sh')
| -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 59cce1b..0e1cfb3 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -59,7 +59,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}" } |
