aboutsummaryrefslogtreecommitdiffstats
path: root/sway-launcher-desktop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sway-launcher-desktop.sh')
-rwxr-xr-xsway-launcher-desktop.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh
index df25e92..6da0101 100755
--- a/sway-launcher-desktop.sh
+++ b/sway-launcher-desktop.sh
@@ -132,6 +132,13 @@ function entries() {
a++;
actions[a,"key"]=$0
}
+ /^\[X-/{
+ sub("^\\[X-", "");
+ sub("\\]$", "");
+ block="action";
+ a++;
+ actions[a,"key"]=$0
+ }
/^Name=/{ (block=="action")? actions[a,"name"]=$2 : name=$2 }
ENDFILE{
if (application){