aboutsummaryrefslogtreecommitdiffstats
path: root/sway-launcher-desktop.sh
diff options
context:
space:
mode:
authorMoritz Meißelbach <arbelzapf@gmail.com>2019-11-15 20:25:04 +0100
committerMoritz Meißelbach <arbelzapf@gmail.com>2019-11-15 20:25:04 +0100
commitdf557aa663fdf8bce38021cf1f72acc74ee73923 (patch)
treebd67dfc4b73b614aaaf1bb85fdde47585fc5b40a /sway-launcher-desktop.sh
parent83d25aeb49ae54b41341320a3f48c57b372c9a7f (diff)
downloadsway-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-xsway-launcher-desktop.sh2
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"