mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-25 03:08:34 +02:00
i3: also use a saved layout for firefox
This commit is contained in:
parent
43697a0617
commit
3d10d1aa63
2 changed files with 8 additions and 1 deletions
2
config
2
config
|
@ -164,6 +164,6 @@ for_window [class="Spotify"] move to workspace number 3
|
||||||
exec_always --no-startup-id systemctl --user start --no-block i3-session.target
|
exec_always --no-startup-id systemctl --user start --no-block i3-session.target
|
||||||
exec --no-startup-id i3-msg "\
|
exec --no-startup-id i3-msg "\
|
||||||
workspace number 1; append_layout ~/.config/i3/ws-emacs.json; exec emacs; exec $term; exec $term; \
|
workspace number 1; append_layout ~/.config/i3/ws-emacs.json; exec emacs; exec $term; exec $term; \
|
||||||
workspace number 2; layout tabbed; exec firefox; \
|
workspace number 2; append_layout ~/.config/i3/ws-firefox.json; exec firefox; \
|
||||||
workspace number 3; exec spotify; \
|
workspace number 3; exec spotify; \
|
||||||
workspace number 1"
|
workspace number 1"
|
||||||
|
|
7
ws-firefox.json
Normal file
7
ws-firefox.json
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"layout": "tabbed",
|
||||||
|
"percent": 1,
|
||||||
|
"nodes": [
|
||||||
|
{"swallows": [{"class": "^Firefox$"}]},
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue