All checks were successful
Check / eval (push) Successful in 2m59s
SUPER+SHIFT+K → hyprctl switchxkblayout current next, rendered only
when the session layout has a comma — the same gate as the Waybar
language indicator. Bind data is a separate multiLayoutBinds list in
keybinds.nix (still one source); hyprland.nix and the rofi cheatsheet
gate on the identical condition, so bind and cheatsheet cannot drift.
`current` targets the focused keyboard, so per-device-overridden
boards (single layout) are a no-op.
Parity: hyprland/language (with the keyboard glyph) added to both
summer waybar.jsonc whole-swaps + #language in their CSS. Static JSON
cannot eval-gate, so on summer themes the module shows even with one
layout — parity-over-minimalism, deliberate. Found en route:
summer-night has an idle_inhibitor the generated bar lacks (reverse
gap) — folded into backlog item 13.
Also — agent/BACKLOG.md gains items 21-24 from Bernardo's Latitude
5410 hardware QA (waybar crash on theme switch + no respawn; nameless
network-menu rows; a no-update sys-rebuild; Back-everywhere audit),
queued ahead of everything; HARDWARE-QUEUE's snapshot re-test now
carries the "update to >= a47aa3a + relogin" precondition, since
findings 5/6 match the pre-polkit-agent behavior exactly.
Verified: V0 (flake check, both summer JSONs parse) + V1 both
directions (default single-layout build renders no bind; us,de via
extendModules renders bind AND cheatsheet row). V3 cycle check queued.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
136 lines
3.4 KiB
JSON
136 lines
3.4 KiB
JSON
{
|
|
"margin-top": 0,
|
|
"margin-left": 120,
|
|
"margin-bottom": 0,
|
|
"margin-right": 120,
|
|
"height": 60,
|
|
"layer": "top",
|
|
"position": "top",
|
|
"spacing": 15,
|
|
"reload_style_on_change": true,
|
|
|
|
"modules-left": ["custom/launcher", "clock", "clock#date"],
|
|
"modules-center": ["hyprland/workspaces"],
|
|
"modules-right": ["pulseaudio", "custom/powerprofile", "custom/nightlight", "hyprland/language", "custom/updates", "battery", "tray", "custom/vpn", "custom/notification", "custom/powermenu"],
|
|
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": true,
|
|
"on-click": "activate",
|
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
|
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
|
},
|
|
|
|
"custom/launcher": {
|
|
"interval": "once",
|
|
"format": "\uf000",
|
|
"on-click": "nomarchy-menu",
|
|
"tooltip-format": "Nomarchy menu"
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"format": "{icon} {volume}%",
|
|
"format-bluetooth": "{icon} {volume}%",
|
|
"format-bluetooth-muted": " muted",
|
|
"format-muted": " muted",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
|
"tooltip-format": "Playing at {volume}%"
|
|
},
|
|
|
|
"battery": {
|
|
"interval": 60,
|
|
"states": { "warning": 30, "critical": 15 },
|
|
"max-length": 10,
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-full": " 100%",
|
|
"format-icons": ["", "", "", "", ""],
|
|
"on-click": "nomarchy-menu power",
|
|
"tooltip-format": "Battery status"
|
|
},
|
|
|
|
"clock": {
|
|
"format": " {:%H:%M}",
|
|
"tooltip": true,
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>"
|
|
},
|
|
|
|
"clock#date": {
|
|
"format": " {:%A, %B %d, %Y}",
|
|
"tooltip": false
|
|
},
|
|
|
|
"tray": { "spacing": 8 },
|
|
|
|
"custom/powerprofile": {
|
|
"return-type": "json",
|
|
"interval": 5,
|
|
"exec": "nomarchy-powerprofile-status",
|
|
"on-click": "nomarchy-powerprofile-cycle"
|
|
},
|
|
|
|
"custom/vpn": {
|
|
"return-type": "json",
|
|
"interval": 5,
|
|
"exec": "nomarchy-vpn-status",
|
|
"on-click": "nomarchy-vpn"
|
|
},
|
|
|
|
"hyprland/language": {
|
|
"format": " {short}",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/nightlight": {
|
|
"return-type": "json",
|
|
"interval": 3,
|
|
"exec": "nomarchy-nightlight status",
|
|
"on-click": "nomarchy-nightlight toggle"
|
|
},
|
|
|
|
"custom/updates": {
|
|
"return-type": "json",
|
|
"interval": 1800,
|
|
"signal": 9,
|
|
"exec": "nomarchy-updates status",
|
|
"on-click": "sh -c '$TERMINAL -e nomarchy-updates upgrade'"
|
|
},
|
|
|
|
"custom/notification": {
|
|
"format": "{icon}",
|
|
"return-type": "json",
|
|
"exec": "swaync-client -swb",
|
|
"exec-if": "which swaync-client",
|
|
"escape": true,
|
|
"tooltip": true,
|
|
"on-click": "swaync-client -t -sw",
|
|
"on-click-right": "swaync-client -d -sw",
|
|
"format-icons": {
|
|
"none": "",
|
|
"notification": "",
|
|
"dnd-none": "",
|
|
"dnd-notification": "",
|
|
"inhibited-none": "",
|
|
"inhibited-notification": "",
|
|
"dnd-inhibited-none": "",
|
|
"dnd-inhibited-notification": ""
|
|
}
|
|
},
|
|
|
|
"custom/powermenu": {
|
|
"format": "",
|
|
"on-click": "nomarchy-menu power",
|
|
"tooltip": false
|
|
}
|
|
}
|