- commit
- 14e90a0
- parent
- de70caf
- author
- Eric Bower
- date
- 2026-01-22 16:18:55 -0500 EST
feat(river): auto layouts for dev work
3 files changed,
+38,
-2
A
dev.sh
+14,
-0
1@@ -0,0 +1,14 @@
2+#/bin/bash
3+riverctl spawn "firefox"
4+riverctl spawn "foot --app-id=irc-chat ssh d.chat"
5+riverctl spawn "foot --app-id=term-1 ssh d.term.1"
6+# riverctl spawn "foot --app-id=term-2 ssh d.term.2"
7+riverctl spawn "foot --app-id=pico-1 ssh d.pico.1"
8+# riverctl spawn "foot --app-id=pico-2 ssh d.pico.2"
9+# riverctl spawn "foot --app-id=pico-3 ssh d.pico.3"
10+# riverctl spawn "foot --app-id=pico-4 ssh d.pico.4"
11+riverctl spawn "foot --app-id=zmx-1 ssh d.zmx.1"
12+# riverctl spawn "foot --app-id=zmx-2 ssh d.zmx.2"
13+riverctl spawn "foot --app-id=dot-1 ssh d.dot.1"
14+# riverctl spawn "foot --app-id=dot-2 ssh d.dot.2"
15+
+22,
-0
1@@ -68,6 +68,14 @@ riverctl map normal $mod W send-layout-cmd rivercarro "main-location-cycle monoc
2 riverctl default-layout rivercarro
3 rivercarro -main-location monocle -inner-gaps 3 -outer-gaps 1 &
4
5+# auto-tag windows
6+riverctl rule-add -app-id 'org.mozilla.firefox' tags $((1 << 0)) # tag 1
7+riverctl rule-add -app-id 'irc-chat' tags $((1 << 1)) # tag 2
8+riverctl rule-add -app-id 'term*' tags $((1 << 2)) # tag 3
9+riverctl rule-add -app-id 'pico*' tags $((1 << 3)) # tag 4
10+riverctl rule-add -app-id 'zmx*' tags $((1 << 4)) # tag 5
11+riverctl rule-add -app-id 'dot*' tags $((1 << 5)) # tag 6
12+
13 # status bar
14 waybar &
15 # color temperature adjustment
16@@ -76,3 +84,17 @@ gammastep -l 42.265385:-83.716557 -t 6500:3500 &
17 gsettings set org.gnome.desktop.interface font-name 'Noto Sans 10'
18 # notification daemon
19 mako &
20+
21+# auto-start windows
22+riverctl spawn "firefox"
23+riverctl spawn "foot --app-id=irc-chat ssh d.chat"
24+riverctl spawn "foot --app-id=term-1 ssh d.term.1"
25+riverctl spawn "foot --app-id=term-2 ssh d.term.2"
26+riverctl spawn "foot --app-id=pico-1 ssh d.pico.1"
27+riverctl spawn "foot --app-id=pico-2 ssh d.pico.2"
28+riverctl spawn "foot --app-id=pico-3 ssh d.pico.3"
29+riverctl spawn "foot --app-id=pico-4 ssh d.pico.4"
30+riverctl spawn "foot --app-id=zmx-1 ssh d.zmx.1"
31+riverctl spawn "foot --app-id=zmx-2 ssh d.zmx.2"
32+riverctl spawn "foot --app-id=dot-1 ssh d.dot.1"
33+riverctl spawn "foot --app-id=dot-2 ssh d.dot.2"
+2,
-2
1@@ -16,8 +16,8 @@
2 }
3 },
4 "river/tags": {
5- "num-tags": 5,
6- "tag-labels": [ "1", "2", "3", "4", "5" ]
7+ "num-tags": 9,
8+ "tag-labels": [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ]
9 },
10 "river/layout": {
11 "format": "{}",