aboutsummaryrefslogtreecommitdiff
path: root/config.in
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-06-26 20:32:09 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-06-26 20:32:09 -0400
commitc30e035f38f4b520d18b9d1d7faca94eab5e412d (patch)
tree9f677ebac9604075e3138788fb72d6db423e1f17 /config.in
parentb7c2a417a5a023289590d6a4d6f6fb97a6bc2068 (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
#