From 28688357a1a329ef1ebe9e8f1e6519e23f9a2fd0 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 9 Jul 2021 17:22:18 +0200 Subject: [PATCH] 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. --- config | 2 +- ws-firefox.json | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 ws-firefox.json diff --git a/config b/config index 23a6c08..6fcd181 100644 --- a/config +++ b/config @@ -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 --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 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 1" diff --git a/ws-firefox.json b/ws-firefox.json deleted file mode 100644 index 8bc1a47..0000000 --- a/ws-firefox.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "layout": "tabbed", - "percent": 1, - "nodes": [ - {"swallows": [{"class": "^Firefox$"}]} - ] -}