tweaks to waybar

This commit is contained in:
Never Gude 2026-01-26 23:38:04 +01:00
parent 5bc9ef28d8
commit 9bf1192cec
6 changed files with 83 additions and 306 deletions

View file

@ -3,12 +3,22 @@
"modules-left": ["niri/workspaces"],
"modules-center": ["niri/window"],
"modules-right": ["bluetooth", "network", "wireplumber#source", "wireplumber#sink", "battery", "clock"],
"modules-right": ["idle_inhibitor", "bluetooth", "network", "wireplumber#source", "wireplumber#sink", "battery", "clock"],
"niri/window": {
"max-length": 100
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "󰅶",
"deactivated": "󰾪"
},
"min-length": 2,
"tooltip": false
},
"mpris": {
"format": "{player_icon} {dynamic}",
"format-paused": "{status_icon} <i>{dynamic}</i>",
@ -43,7 +53,6 @@
"tooltip-format-wifi": "{essid} ({signalStrength}%) 󰖩",
"tooltip-format-ethernet": "{ifname} 󰈁",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50,
"min-length": 2
},
@ -75,14 +84,14 @@
},
"events": {
"on-discharging-warning": "notify-send -u normal 'Low Battery'",
"on-discharging-critical": "notify-send -u critical 'Very Low Battery'",
"on-discharging-critical": "notify-send -u critical 'Very Low Battery'"
},
"format": "{icon}",
"format-icons": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"],
"tooltip-format": "{time} ({capacity}%)",
"min-length": 2
},
"clock": {
"format-alt": "{:%a, %d. %b %H:%M}",
"tooltip": false