summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-01-06 00:28:03 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-01-06 00:28:03 +0100
commit178a036e0eb9dcd7c5b213292af75c6233b272cc (patch)
treeec23ca4c3f81a1e2aea37f8bf86cd415560c8d1b
Make basic layouts
-rwxr-xr-xDIY6
-rw-r--r--DIY.json52
-rwxr-xr-xGBA5
-rw-r--r--GBA.json51
4 files changed, 114 insertions, 0 deletions
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"
+ }
+ ]
+}
+