The network/wifi indicator duplicated nm-applet, which already sits in the
tray (services.network-manager-applet.enable), so remove it from the bar.
And the power-profile speedometer glyph rendered noticeably smaller than
the neighbouring indicators, so bump its font-size (+3pt generated; 20px
summer-day, 17px summer-night).
Applied to the generated bar (waybar.nix) and both whole-swap themes
(summer-day/night waybar.{jsonc,css}) for parity.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
109 lines
2.7 KiB
JSON
109 lines
2.7 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", "battery", "tray", "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/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
|
|
}
|
|
}
|