Skip to content

Commit

Permalink
Use exec setsid instead of swaymsg. Makes this script entirely indepe…
Browse files Browse the repository at this point in the history
…ndent from sway and thereby fixes #7
  • Loading branch information
Biont committed Nov 15, 2019
1 parent 83d25ae commit df557aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

![screenshot_2019-10-25-213740](https://user-images.githubusercontent.com/4208996/67599848-3a1f3680-f771-11e9-9715-da6e943ae14e.png)

This is a launcher menu made for the Sway window manager made with bash and the amazing [fzf](https://github.com/junegunn/fzf).
This is a TUI-based launcher menu made with bash and the amazing [fzf](https://github.com/junegunn/fzf).
Despite its name, it does not (read: no longer) depend on the Sway window manager in any way and can be used with just about any WM.

## Features
- Lists and executes available binaries
Expand Down
2 changes: 1 addition & 1 deletion sway-launcher-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,4 @@ command)
;;
esac

swaymsg exec "'$command'"
exec setsid /bin/sh -c "$command"

0 comments on commit df557aa

Please sign in to comment.