From 3d10d1aa63903c81c0e3ffe3961985a3acbeb26c Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 6 Jul 2021 06:55:52 +0200 Subject: [PATCH] i3: also use a saved layout for firefox --- config | 2 +- ws-firefox.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 ws-firefox.json diff --git a/config b/config index e19c2a8..43779c4 100644 --- a/config +++ b/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 --no-startup-id i3-msg "\ 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 1" diff --git a/ws-firefox.json b/ws-firefox.json new file mode 100644 index 0000000..95583c3 --- /dev/null +++ b/ws-firefox.json @@ -0,0 +1,7 @@ +{ + "layout": "tabbed", + "percent": 1, + "nodes": [ + {"swallows": [{"class": "^Firefox$"}]}, + ] +}