diff options
| author | Moritz Meißelbach <m.meisselbach@inpsyde.com> | 2019-10-15 14:10:55 +0200 |
|---|---|---|
| committer | Moritz Meißelbach <m.meisselbach@inpsyde.com> | 2019-10-15 14:10:55 +0200 |
| commit | 915eaf1a47310261a08ef811391c6b781e61167e (patch) | |
| tree | 44d8841685364b7d8bf733dd60995966f6cada78 /sway-launcher-desktop.sh | |
| parent | 5cd4648cbb060b9f131619e4a1a8c4ad859bf37f (diff) | |
| download | sway-launcher-desktop-915eaf1a47310261a08ef811391c6b781e61167e.tar.gz sway-launcher-desktop-915eaf1a47310261a08ef811391c6b781e61167e.zip | |
Improve awk usage so only the first Name= entry is used from a desktop file
Diffstat (limited to 'sway-launcher-desktop.sh')
| -rwxr-xr-x | sway-launcher-desktop.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index 8043423..741abb3 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -11,7 +11,6 @@ if [[ "$1" = 'describe' ]]; then description="${arr[0]}" description="${description%*-}" else - echo $1 title=$(sed -ne '/^Name=/{s/^Name=//;p;q}' "$1") description=$(sed -ne '/^Comment=/{s/^Comment=//;p;q}' "$1") fi |
