Docs: explain why menu command should be passed to sway

It was not obvious to me why until I saw a comment from @RyanDwyer on Reddit, so I think it's better to add an explanation.
This commit is contained in:
Jason 2020-01-06 16:42:56 +09:00 committed by Simon Ser
parent 70ea19150a
commit d8030ec5c2
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -16,7 +16,8 @@ set $right l
# Your preferred terminal emulator # Your preferred terminal emulator
set $term alacritty set $term alacritty
# Your preferred application launcher # Your preferred application launcher
# Note: it's recommended that you pass the final command to sway # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu dmenu_path | dmenu | xargs swaymsg exec -- set $menu dmenu_path | dmenu | xargs swaymsg exec --
### Output configuration ### Output configuration