Compare commits
2
Commits
5c9797655e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
717ad1d3a9 | ||
|
|
02c4e81869 |
@@ -56,7 +56,7 @@ and shared layers beneath it. `./install.sh --show` prints the result.
|
||||
|
||||
| Layer | Used by | What |
|
||||
|---|---|---|
|
||||
| `base` | all | `hyprland.lua` with the `hypr/layers/` loader; `bindings.lua` kept at stock |
|
||||
| `base` | all | `hyprland.lua` with the `hypr/layers/` loader; `bindings.lua` kept at stock; Super+Ctrl+T toggles one persistent btop |
|
||||
| `personal` | both laptops | branding, default agent (`claude`), herdr, opencode, voxtype |
|
||||
| `personal-desktop` | HP | the three hand-built themes, the shell plugins, bar layout, Claude/Herdr bindings |
|
||||
| `features/handoff` | both laptops | `omarchy-handoff` + patched lan-mouse, its unit and binding |
|
||||
@@ -66,7 +66,7 @@ and shared layers beneath it. `./install.sh --show` prints the result.
|
||||
**Hyprland settings never share a file.** `base`'s `hyprland.lua` loads every
|
||||
`~/.config/hypr/layers/*.lua` in name order (Omarchy's own `require_all`, with
|
||||
reload), after `monitors`/`input`/`bindings`/`looknfeel`/`autostart`. Each
|
||||
layer ships its own `NN-<layer>.lua` there — roles 20s, `personal-desktop` 40,
|
||||
layer ships its own `NN-<layer>.lua` there — `base` 10, roles 20s, `personal-desktop` 40,
|
||||
features 50, machines 80 — and `bindings.lua` stays stock so nothing is bound
|
||||
twice. `install.sh` warns about a file in `hypr/layers/` that no layer of the
|
||||
current profile provides (a role you dropped).
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
-- Activity (btop) as a persistent drop-down: a single btop starts at login on
|
||||
-- its own special workspace, and SUPER+CTRL+T shows/hides it instead of
|
||||
-- launching a fresh btop (and losing its graph history) every time.
|
||||
|
||||
local app_id = "org.omarchy.activity"
|
||||
local launch = "omarchy-launch-tui --app-id=" .. app_id .. " btop"
|
||||
|
||||
-- Route the window by class: launch-tui goes through setsid/uwsm-app, so an
|
||||
-- exec rule can't follow the PID.
|
||||
o.window(app_id, { workspace = "special:activity silent" })
|
||||
|
||||
-- Start it at login, and re-seed it if btop was quit and the toggle finds the
|
||||
-- workspace empty.
|
||||
o.exec_on_start(launch)
|
||||
hl.workspace_rule({
|
||||
workspace = "special:activity",
|
||||
on_created_empty = launch,
|
||||
})
|
||||
|
||||
-- Was: launch a new btop each time.
|
||||
hl.unbind("SUPER + CTRL + T")
|
||||
o.bind("SUPER + CTRL + T", "Activity", hl.dsp.workspace.toggle_special("activity"))
|
||||
@@ -1,4 +1,4 @@
|
||||
# Every machine, including the Coder desktops. Keeps hyprland.lua and
|
||||
# bindings.lua at stock plus the hypr/layers/ loader, so every other layer adds
|
||||
# Hyprland settings as its own file instead of editing a shared one.
|
||||
description="Shared by every machine: the hypr/layers/ loader"
|
||||
description="Shared by every machine: the hypr/layers/ loader, persistent Activity (btop) toggle"
|
||||
|
||||
@@ -38,7 +38,7 @@ if command -v ufw >/dev/null; then
|
||||
echo " ! sudo needs a password and there is no terminal; ufw rules not applied"
|
||||
else
|
||||
ufw_rule allow from 192.168.1.0/24 to any port 22 proto tcp
|
||||
ufw_rule allow from 192.168.1.0/24 to any port 7746 proto udp comment 'ohv fabric'
|
||||
ufw_rule allow from 192.168.1.0/24 to any port 7746 proto udp comment 'ocovo fabric'
|
||||
ufw_rule allow in on wt0 to any port 7746 proto udp
|
||||
ufw_rule allow 7790/tcp
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user