aboutsummaryrefslogtreecommitdiff
path: root/config.in
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-26 20:32:09 -0400
committerDrew DeVault <sir@cmpwn.com>2018-07-01 09:58:18 -0400
commitacd79e1505c06089e4fb9fb6c0c6e1d351ba9176 (patch)
tree9f677ebac9604075e3138788fb72d6db423e1f17 /config.in
parent62a7b762aca206c0992bda51153fd0cfb4f41636 (diff)
Implement pid->workspace tracking
When you spawn a process with the exec command, sway now notes the workspace you had focused and the pid of the child process, then assigns that workspace to the child when its window appears. Some of this is carried over from sway 0.15, but with some major refactoring and centralization of state.
Diffstat (limited to 'config.in')
-rw-r--r--config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.in b/config.in
index 4a11762a..41f53461 100644
--- a/config.in
+++ b/config.in
@@ -16,7 +16,8 @@ set $right l
# Your preferred terminal emulator
set $term urxvt
# Your preferred application launcher
-set $menu dmenu_run
+# Note: it's recommended that you pass the final command to sway
+set $menu dmenu_path | dmenu | xargs swaymsg exec
### Output configuration
#