diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-11-15 20:25:04 +0100 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-11-15 20:25:04 +0100 |
| commit | df557aa663fdf8bce38021cf1f72acc74ee73923 (patch) | |
| tree | bd67dfc4b73b614aaaf1bb85fdde47585fc5b40a /sway-launcher-desktop.sh | |
| parent | 83d25aeb49ae54b41341320a3f48c57b372c9a7f (diff) | |
| download | sway-launcher-desktop-df557aa663fdf8bce38021cf1f72acc74ee73923.tar.gz sway-launcher-desktop-df557aa663fdf8bce38021cf1f72acc74ee73923.zip | |
Use exec setsid instead of swaymsg. Makes this script entirely independent from sway and thereby fixes #7
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 eb70b0d..ff788ba 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -213,4 +213,4 @@ command) ;; esac -swaymsg exec "'$command'" +exec setsid /bin/sh -c "$command" |
