From a0d84e98cf10c58cc8f7bd51ca0d2df83fad3a33 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sun, 29 Jan 2023 23:35:31 +0100 Subject: Add programming layout --- PROGRAMMING | 6 +++++ PROGRAMMING.json | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100755 PROGRAMMING create mode 100644 PROGRAMMING.json diff --git a/PROGRAMMING b/PROGRAMMING new file mode 100755 index 0000000..b19a47c --- /dev/null +++ b/PROGRAMMING @@ -0,0 +1,6 @@ +i3-msg "workspace 9; +append_layout $(readlink -f $(dirname $0))/PROGRAMMING.json; +exec --no-startup-id ffplay -fflags nobuffer -flags low_delay -framedrop /dev/video0 +exec --no-startup-id alacritty +exec --no-startup-id icecat --new-window +exec --no-startup-id chromium --app=https://dashboard.twitch.tv/popout/u/ekaitzza/stream-manager/chat" diff --git a/PROGRAMMING.json b/PROGRAMMING.json new file mode 100644 index 0000000..51b0011 --- /dev/null +++ b/PROGRAMMING.json @@ -0,0 +1,70 @@ +// vim:ts=4:sw=4:et +{ + // stacked split container with 2 children + "border": "normal", + "layout": "stacked", + "percent": 0.722916666666667, + "type": "con", + "nodes": [ + { + "border": "normal", + "name": "icecat", + "percent": 0.5, + "swallows": [ + { + "title": "GNU IceCat$" + } + ], + "type": "con" + }, + { + "border": "normal", + "name": "Alacritty", + "percent": 0.5, + "swallows": [ + { + "class": "^Alacritty$" + } + ], + "type": "con" + } + ] +} + +{ + // splitv split container with 2 children + "border": "normal", + "floating": "auto_off", + "layout": "splitv", + "percent": 0.277083333333333, + "type": "con", + "nodes": [ + { + "border": "none", + "floating": "auto_off", + "name": "Chat", + "percent": 0.7, + "swallows": [ + { + "class": "^Chromium\\-browser$", + "instance": "^dashboard\\.twitch\\.tv__popout_u_ekaitzza_stream\\-manager_chat$" + } + ], + "type": "con" + }, + { + "name": "Face Camera", + "border": "none", + "floating": "auto_off", + "percent": 0.3, + "swallows": [ + { + "title": "/dev/video0", + "class": "ffplay" + } + ], + "type": "con" + } + ] +} + -- cgit v1.2.3