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

@@ -36,7 +36,7 @@
"interval": "once",
"format": "󰣇",
"on-click": "nomarchy-menu",
"tooltip": false
"tooltip-format": "Nomarchy Menu\n\nSuper + Shift + Space"
},
"backlight": {
@@ -77,15 +77,17 @@
"car": "",
"default": ["", "", ""]
},
"on-click-right": "pavucontrol",
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
"on-click": "nomarchy-launch-audio",
"on-click-right": "pamixer -t",
"tooltip-format": "Playing at {volume}%\n\nSuper + Ctrl + A"
},
"network": {
"format-wifi": " {signalStrength}%",
"format-ethernet": " {signalStrength}%",
"format-disconnected": "󰤭",
"on-click": "nomarchy-launch-wifi"
"on-click": "nomarchy-launch-wifi",
"tooltip-format": "Wifi controls\n\nSuper + Ctrl + W"
},
"battery": {
@@ -104,15 +106,20 @@
"format-plugged": " {capacity}%",
"format-alt": "{icon} {capacity}%",
"format-full": " 100%",
"format-icons": ["", "", "", "", "", "", "", "", "", ""]
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
"tooltip-format": "Battery Status\n\nSuper + Ctrl + Alt + B"
},
"clock": {
"format": " {:%H:%M}"
"format": " {:%H:%M}",
"tooltip": true,
"tooltip-format": "Show time\n\nSuper + Ctrl + Alt + T"
},
"clock#date": {
"format": " {:%A, %B %d, %Y}",
"tooltip": true,
"tooltip-format": "Show time\n\nSuper + Ctrl + Alt + T",
"on-click": "nomarchy-launch-or-focus-tui calcurse"
},

View File

@@ -40,7 +40,7 @@
"interval": "once",
"format": "\uf000",
"on-click": "nomarchy-menu",
"tooltip-format": "Application Launcher"
"tooltip-format": "Nomarchy Menu\n\nSuper + Shift + Space"
},
"custom/update": {
@@ -130,31 +130,35 @@
"on-click": "pamixer -t",
"on-click-middle": "nomarchy-launch-audio",
"on-click-right": "pavucontrol",
"tooltip-format": "{icon} {desc} | {volume}%"
"tooltip-format": "{icon} {desc} | {volume}%\n\nSuper + Ctrl + A"
},
"network": {
"format-wifi": " {signalStrength}%",
"format-ethernet": " {signalStrength}%",
"format-disconnected": "󰤭",
"on-click": "nomarchy-launch-wifi"
"on-click": "nomarchy-launch-wifi",
"tooltip-format": "Wifi controls\n\nSuper + Ctrl + W"
},
"custom/battery": {
"interval": 30,
"format": "{}",
"exec": "nomarchy-battery-status",
"on-click": "nomarchy-menu power"
"on-click": "nomarchy-menu power",
"tooltip-format": "Battery Status\n\nSuper + Ctrl + Alt + B"
},
"clock": {
"format": " {:%H:%M}",
"tooltip": false
"tooltip": true,
"tooltip-format": "Show time\n\nSuper + Ctrl + Alt + T"
},
"clock#date": {
"format": " {:%A, %B %d, %Y}",
"tooltip": false,
"tooltip": true,
"tooltip-format": "Show time\n\nSuper + Ctrl + Alt + T",
"on-click": "nomarchy-launch-or-focus-tui calcurse"
},