mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 02:47:46 +03:00
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.
This commit is contained in:
parent
62a7b762ac
commit
acd79e1505
10 changed files with 154 additions and 33 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue