From 178a036e0eb9dcd7c5b213292af75c6233b272cc Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 6 Jan 2023 00:28:03 +0100 Subject: Make basic layouts --- DIY | 6 ++++++ DIY.json | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ GBA | 5 +++++ GBA.json | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 114 insertions(+) create mode 100755 DIY create mode 100644 DIY.json create mode 100755 GBA create mode 100644 GBA.json diff --git a/DIY b/DIY new file mode 100755 index 0000000..08fab82 --- /dev/null +++ b/DIY @@ -0,0 +1,6 @@ +i3-msg "workspace 9; +append_layout $(readlink -f $(dirname $0))/DIY.json; +border none; +exec --no-startup-id ffplay /dev/video0 +exec --no-startup-id ffplay /dev/video2 +exec --no-startup-id chromium --app=https://dashboard.twitch.tv/popout/u/ekaitzza/stream-manager/chat" diff --git a/DIY.json b/DIY.json new file mode 100644 index 0000000..f109cbd --- /dev/null +++ b/DIY.json @@ -0,0 +1,52 @@ +{ + "border": "none", + "floating": "auto_off", + "name": "Global Camera", + "percent": 0.722916666666667, + "swallows": [ + { + "title": "/dev/video2", + "class": "ffplay" + } + ], + "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", + "name": "Alacritty", + "percent": 0.3, + "swallows": [ + { + "title": "/dev/video0", + "class": "ffplay" + } + ], + "type": "con" + } + ] +} + diff --git a/GBA b/GBA new file mode 100755 index 0000000..c914114 --- /dev/null +++ b/GBA @@ -0,0 +1,5 @@ +i3-msg "workspace 9; +append_layout $(readlink -f $(dirname $0))/GBA.json; +exec --no-startup-id ffplay /dev/video0 +exec --no-startup-id mgba-qt +exec --no-startup-id chromium --app=https://dashboard.twitch.tv/popout/u/ekaitzza/stream-manager/chat" diff --git a/GBA.json b/GBA.json new file mode 100644 index 0000000..376e980 --- /dev/null +++ b/GBA.json @@ -0,0 +1,51 @@ +{ + "border": "None", + "floating": "auto_off", + "name": "Game", + "percent": 0.722916666666667, + "swallows": [ + { + "class": "^mGBA$", + "instance": "^mgba\\-qt$" + } + ], + "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