fix(waybar): reconcile tooltips with keybindings and fix stale references
Some checks failed
Check / eval-and-lint (push) Failing after 1m52s

This commit is contained in:
Bernardo Magri
2026-05-31 21:59:08 +01:00
parent 3a0164feb7
commit d242d1ea88
6 changed files with 39 additions and 25 deletions

View File

@@ -43,7 +43,7 @@
"format": "",
"on-click": "nomarchy-menu",
"on-click-right": "xdg-terminal-exec",
"tooltip-format": "Nomarchy Menu\n\nSuper + Alt + Space"
"tooltip-format": "Nomarchy Menu\n\nSuper + Shift + Space"
},
"custom/update": {
"format": "",
@@ -58,12 +58,14 @@
"interval": 5,
"format": "󰍛",
"on-click": "nomarchy-launch-or-focus-tui btop",
"on-click-right": "alacritty"
"on-click-right": "alacritty",
"tooltip-format": "Activity\n\nSuper + Ctrl + T"
},
"clock": {
"format": "{:L%A %H:%M}",
"format-alt": "{:L%d %B W%V %Y}",
"tooltip": false,
"tooltip": true,
"tooltip-format": "Show time\n\nSuper + Ctrl + Alt + T",
"on-click": "nomarchy-launch-or-focus-tui calcurse",
"on-click-right": "nomarchy-launch-floating-terminal-with-presentation nomarchy-tz-select"
},
@@ -73,9 +75,9 @@
"format-wifi": "{icon}",
"format-ethernet": "󰀂",
"format-disconnected": "󰤮",
"tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
"tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
"tooltip-format-disconnected": "Disconnected",
"tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}\n\nSuper + Ctrl + W",
"tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}\n\nSuper + Ctrl + W",
"tooltip-format-disconnected": "Disconnected\n\nSuper + Ctrl + W",
"interval": 3,
"spacing": 1,
"on-click": "nomarchy-launch-wifi"
@@ -90,8 +92,9 @@
"default": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"]
},
"format-full": "󰂅",
"tooltip-format-discharging": "{power:>1.0f}W↓ {capacity}%",
"tooltip-format-charging": "{power:>1.0f}W {capacity}%",
"tooltip-format": "Battery Status\n\nSuper + Ctrl + Alt + B",
"tooltip-format-discharging": "{power:>1.0f}W {capacity}%\n\nSuper + Ctrl + Alt + B",
"tooltip-format-charging": "{power:>1.0f}W↑ {capacity}%\n\nSuper + Ctrl + Alt + B",
"interval": 5,
"on-click": "nomarchy-menu power",
"states": {
@@ -105,14 +108,14 @@
"format-disabled": "󰂲",
"format-connected": "󰂱",
"format-no-controller": "",
"tooltip-format": "Devices connected: {num_connections}",
"tooltip-format": "Devices connected: {num_connections}\n\nSuper + Ctrl + B",
"on-click": "nomarchy-launch-bluetooth"
},
"pulseaudio": {
"format": "{icon}",
"on-click": "nomarchy-launch-audio",
"on-click-right": "pamixer -t",
"tooltip-format": "Playing at {volume}%",
"tooltip-format": "Playing at {volume}%\n\nSuper + Ctrl + A",
"scroll-step": 5,
"format-muted": "",
"format-icons": {