fix(desktop): tighter bar icon pad + case-insensitive rofi match
Some checks failed
Check / eval (push) Has been cancelled

- Double-space pad on volume (esp. high), battery, keyboard layout glyphs
- rofi: matching=normal,fuzzy; case-smart off (ste finds Steam)
- Queue: unfree+calendar PASS; retest spacing + rofi search

V0: nix flake check --no-build green. V3: bar/rofi on session.
This commit is contained in:
2026-07-10 13:06:47 +01:00
parent d547393e7b
commit b5263bcef8
7 changed files with 177 additions and 141 deletions

View File

@@ -8,11 +8,28 @@
"position": "top",
"spacing": 15,
"reload_style_on_change": true,
"modules-left": ["custom/nomarchy", "clock"],
"modules-center": ["hyprland/workspaces"],
"modules-right": ["custom/recording", "idle_inhibitor", "pulseaudio", "custom/powerprofile", "custom/nightlight", "hyprland/language", "custom/updates", "battery", "tray", "custom/vpn", "custom/doctor", "custom/notification", "custom/powermenu"],
"modules-left": [
"custom/nomarchy",
"clock"
],
"modules-center": [
"hyprland/workspaces"
],
"modules-right": [
"custom/recording",
"idle_inhibitor",
"pulseaudio",
"custom/powerprofile",
"custom/nightlight",
"hyprland/language",
"custom/updates",
"battery",
"tray",
"custom/vpn",
"custom/doctor",
"custom/notification",
"custom/powermenu"
],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
@@ -20,14 +37,12 @@
"on-scroll-up": "hyprctl dispatch workspace r+1",
"on-scroll-down": "hyprctl dispatch workspace r-1"
},
"custom/nomarchy": {
"interval": "once",
"format": "\uf000",
"format": "",
"on-click": "nomarchy-menu",
"tooltip-format": "Nomarchy menu"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
@@ -35,54 +50,63 @@
"deactivated": " 󰾪 "
}
},
"pulseaudio": {
"scroll-step": 5,
"format": "<span size='13pt'>{icon}</span>{volume}%",
"format-bluetooth": "<span size='13pt'>{icon} </span>{volume}%",
"format-bluetooth": "<span size='13pt'>{icon} </span>{volume}%",
"format-bluetooth-muted": " {icon}",
"format-muted": "<span size='13pt'> </span>muted",
"format-muted": "<span size='13pt'> </span>muted",
"format-icons": {
"headphone": " ",
"hands-free": " ",
"headset": " ",
"phone": " ",
"portable": " ",
"car": " ",
"default": [" ", " ", " "]
"headphone": " ",
"hands-free": " ",
"headset": " ",
"phone": " ",
"portable": " ",
"car": " ",
"default": [
" ",
" ",
" "
]
},
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"on-click-right": "pwvucontrol",
"tooltip-format": "{desc} | {volume}%"
},
"battery": {
"interval": 30,
"states": { "warning": 25, "critical": 10 },
"states": {
"warning": 25,
"critical": 10
},
"format": "<span size='13pt'>{icon}</span>{capacity}%",
"format-charging": "<span size='13pt'> </span>{capacity}%",
"format-plugged": "<span size='13pt'> </span>{capacity}%",
"format-icons": [" ", " ", " ", " ", " "],
"format-charging": "<span size='13pt'> </span>{capacity}%",
"format-plugged": "<span size='13pt'> </span>{capacity}%",
"format-icons": [
" ",
" ",
" ",
" ",
" "
],
"on-click": "nomarchy-menu powermgmt",
"tooltip-format": "Battery status"
},
"clock": {
"format": " {:%H:%M · %a %d %b}",
"on-click": "nomarchy-calendar",
"tooltip": true,
"tooltip-format": "{:%A %d %B %Y}\n{:%Z (UTC%z)}\n<tt><small>{calendar}</small></tt>"
},
"tray": { "spacing": 8 },
"tray": {
"spacing": 8
},
"custom/powerprofile": {
"return-type": "json",
"interval": 5,
"exec": "nomarchy-powerprofile-status",
"on-click": "nomarchy-menu powermgmt"
},
"custom/recording": {
"return-type": "json",
"interval": 10,
@@ -90,7 +114,6 @@
"exec": "nomarchy-record status",
"on-click": "nomarchy-record stop"
},
"custom/doctor": {
"return-type": "json",
"format": "{}",
@@ -99,26 +122,22 @@
"exec": "nomarchy-doctor-status",
"on-click": "nomarchy-menu doctor"
},
"custom/vpn": {
"return-type": "json",
"interval": 5,
"exec": "nomarchy-vpn-status",
"on-click": "nomarchy-vpn"
},
"hyprland/language": {
"format": "<span size='13pt'>󰌌</span> {short}",
"format": "<span size='13pt'>󰌌 </span>{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,
@@ -126,7 +145,6 @@
"exec": "nomarchy-updates status",
"on-click": "sh -c '$TERMINAL -e nomarchy-updates upgrade'"
},
"custom/notification": {
"format": "{icon}",
"return-type": "json",
@@ -147,7 +165,6 @@
"dnd-inhibited-notification": ""
}
},
"custom/powermenu": {
"format": "",
"on-click": "nomarchy-menu power",