From fef8875ec724436f739a0ad4c8d71f958b295863 Mon Sep 17 00:00:00 2001 From: jfm Date: Thu, 3 May 2018 08:43:36 +0200 Subject: [PATCH] Fixed media layout and startup --- i3/.i3/config | 4 +- i3/.i3/layouts/workspace8-media.json | 59 +++++++--------------------- i3/.i3/workspaces/ws08.sh | 3 +- 3 files changed, 18 insertions(+), 48 deletions(-) diff --git a/i3/.i3/config b/i3/.i3/config index 028efc4..80cd6b8 100644 --- a/i3/.i3/config +++ b/i3/.i3/config @@ -4,8 +4,8 @@ # Set mod key (Mod1=, Mod4=) set $mod Mod4 -# set default desktop layout (default is tiling) -# workspace_layout tabbed +# set default desktop layout (default is tiling) +workspace_layout stacking # Configure border style new_window pixel 1 diff --git a/i3/.i3/layouts/workspace8-media.json b/i3/.i3/layouts/workspace8-media.json index b183bd9..5bfa1c3 100644 --- a/i3/.i3/layouts/workspace8-media.json +++ b/i3/.i3/layouts/workspace8-media.json @@ -11,66 +11,37 @@ "x": 0, "y": 0 }, - "name": "jfm@moerks: ~", + "name": "newsbeuter", "percent": 0.5, "swallows": [ { "class": "^URxvt$", - "instance": "^tasks$" + "instance": "^newsboat$" } ], "type": "con" }, { "border": "pixel", + "current_border_width": 1, "floating": "auto_off", - "layout": "splith", - "nodes": [ + "geometry": { + "height": 410, + "width": 654, + "x": 0, + "y": 0 + }, + "name": "ncmpc", + "percent": 0.5, + "swallows": [ { - "border": "pixel", - "current_border_width": 1, - "floating": "auto_off", - "geometry": { - "height": 410, - "width": 654, - "x": 0, - "y": 0 - }, - "name": "newsbeuter", - "percent": 0.5, - "swallows": [ - { - "class": "^URxvt$", - "instance": "^newsbeuter$" - } - ], - "type": "con" - }, - { - "border": "pixel", - "current_border_width": 1, - "floating": "auto_off", - "geometry": { - "height": 410, - "width": 654, - "x": 0, - "y": 0 - }, - "name": "ncmpc", - "percent": 0.5, - "swallows": [ - { - "class": "^URxvt$", - "title": "^ncmpcpp$" - } - ], - "type": "con" + "class": "^URxvt$", + "title": "^ncmpcpp$" } ], - "percent": 0.5, "type": "con" } ], "percent": 0.5, "type": "con" -} \ No newline at end of file +} \ No newline at end of file diff --git a/i3/.i3/workspaces/ws08.sh b/i3/.i3/workspaces/ws08.sh index 086ea02..365413e 100755 --- a/i3/.i3/workspaces/ws08.sh +++ b/i3/.i3/workspaces/ws08.sh @@ -1,7 +1,6 @@ #!/bin/bash . ~/.i3/env i3-msg "workspace 8:Media; append_layout ~/.i3/layouts/workspace8-media.json" -i3-msg "workspace 8:Media; exec urxvt -name tasks" -i3-msg "workspace 8:Media; exec urxvt -name newsbeuter -e newsbeuter" +i3-msg "workspace 8:Media; exec urxvt -name newsboat -e newsboat" i3-msg "workspace 8:Media; exec urxvt -name ncmpcpp -e ncmpcpp" i3-msg "workspace 8:Media; move workspace to output $LAPTOP"