i3: don't use a layout for something that simple

New windows are not created as tabbed but follow the default layout of
the workspace. So, set this default and just run firefox from there.
This commit is contained in:
Vincent Bernat 2021-07-09 17:22:18 +02:00
parent 4e06e54f64
commit 28688357a1
2 changed files with 1 additions and 8 deletions

2
config
View file

@ -167,6 +167,6 @@ for_window [class="Spotify"] move to workspace number 3
exec_always --no-startup-id exec systemctl --user start --no-block i3-session.target exec_always --no-startup-id exec systemctl --user start --no-block i3-session.target
exec --no-startup-id exec i3-msg "\ exec --no-startup-id exec i3-msg "\
workspace number 1; append_layout ~/.config/i3/ws-emacs.json; exec exec emacs; exec exec $term; exec exec $term; \ workspace number 1; append_layout ~/.config/i3/ws-emacs.json; exec exec emacs; exec exec $term; exec exec $term; \
workspace number 2; append_layout ~/.config/i3/ws-firefox.json; exec exec firefox; \ workspace number 2; workspace_layout tabbed; exec exec firefox; \
workspace number 3; exec exec $mediaplayer; \ workspace number 3; exec exec $mediaplayer; \
workspace number 1" workspace number 1"

View file

@ -1,7 +0,0 @@
{
"layout": "tabbed",
"percent": 1,
"nodes": [
{"swallows": [{"class": "^Firefox$"}]}
]
}