I'm not sure if this is a bug or a request feature, and I haven't went through the code, and try to understand if there's something wrong on my side the gets me the error exit code.
Anyway, the issue that I'm hitting is that I'm getting a non-zero return code (1) from fuzzel after exiting the launcher without trying to select an app and launch it.
This creates two problems for me.
-
I'm using systemd-run to run fuzzel and the lauched apps under a different slice, and the the error exit code shows up as a failure in systemd's log.
-
In my sway config, I want to take into account that systemd-run might fail running fuzzel, so I'm adding a fallback to run fuzzel directly like this
bindsym $mod+Shift+d exec --no-startup-id systemd-run --user --slice app.slice --quiet --no-block --collect fuzzel-launch || fuzzel-launch
but due to the error exit code, Sway is launching fuzzel twice.
I'm not sure if this is a bug or a request feature, and I haven't went through the code, and try to understand if there's something wrong on my side the gets me the error exit code.
Anyway, the issue that I'm hitting is that I'm getting a non-zero return code (1) from fuzzel after exiting the launcher without trying to select an app and launch it.
This creates two problems for me.
1. I'm using systemd-run to run fuzzel and the lauched apps under a different slice, and the the error exit code shows up as a failure in systemd's log.
2. In my sway config, I want to take into account that systemd-run might fail running fuzzel, so I'm adding a fallback to run fuzzel directly like this
```
bindsym $mod+Shift+d exec --no-startup-id systemd-run --user --slice app.slice --quiet --no-block --collect fuzzel-launch || fuzzel-launch
```
but due to the error exit code, Sway is launching fuzzel twice.