diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-01-29 23:35:31 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-01-29 23:35:31 +0100 |
commit | a0d84e98cf10c58cc8f7bd51ca0d2df83fad3a33 (patch) | |
tree | 79959e64df56396b0f2595aa573e7b43ef46b3b6 | |
parent | dc5fa8ec26a0100f15cbd5d4894ed5a4edbd1bbd (diff) |
Add programming layout
-rwxr-xr-x | PROGRAMMING | 6 | ||||
-rw-r--r-- | PROGRAMMING.json | 70 |
2 files changed, 76 insertions, 0 deletions
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" + } + ] +} + |