Files
nixos/Droidnix/generated/.config/waybar/config
T
2026-04-04 13:53:32 +02:00

187 lines
4.2 KiB
Plaintext

{
"layer": "top",
"height": 34,
/*******************************************************************/
"modules-left": [],
"modules-center": [
"group/myworkspaces",
"group/connections",
"group/hardware"
],
"modules-right": [
"tray",
"clock",
"idle_inhibitor",
],
/*******************************************************************/
"group/myworkspaces": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true
},
"modules": [
"custom/myworkspaces-leader",
"hyprland/workspaces",
"custom/hypr-workspaces"
]
},
"custom/myworkspaces-leader": {
"format": "Workspaces",
"tooltip-format": "Workspaces group"
},
/*******************************************************************/
"group/hardware": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true
},
"modules": [
"custom/hardware-leader",
"cpu",
"memory",
"temperature",
"battery",
]
},
"custom/hardware-leader": {
"format": "Hardware",
"tooltip-format": "Hardware group"
},
/*************************/
"group/connections": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true
},
"modules": [
"custom/connections-leader",
"pulseaudio",
"network",
"custom/bluetooth",
]
},
"custom/connections-leader": {
"format": "Connections",
"tooltip-format": "Connections group"
},
/*******************************************************************/
"custom/hypr-workspaces": {
"format": "{text}",
"exec": "~/.config/waybar/scripts/hypr-workspaces.sh",
"interval": 2,
"return-type": "json",
"on-click": "~/.config/waybar/scripts/hypr-workspacesmenu.sh",
"tooltip": true
},
"custom/bluetooth": {
"exec": "~/.config/waybar/scripts/bluetooth-status.sh",
"interval": 5,
"return-type": "json",
"on-click": "blueman-manager",
"format": "{}"
},
"idle_inhibitor": {
"tooltip": true,
"format": "{icon}",
"format-icons": {
"activated": "  ",
"deactivated": " 󰒲 "
},
"tooltip-format-activated": "Staying awake",
"tooltip-format-deactivated": "Might sleep...."
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphones": "",
"headset": "",
"phone": "",
"portable": "",
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"network": {
"format-wifi": " ({bandwidthDownBits})",
"format-ethernet": " ({bandwidthDownBits})",
"format-disconnected": "Disconnected ⚠",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"on-click": "impala",
"on-click-right": "nm-connection-editor"
},
"cpu": {
"format": "{usage}%  ",
"tooltip": false
},
"memory": {
"format": "{percentage}%  "
},
"temperature": {
"format": "{temperatureC}°C ",
"tooltip": false
},
"tray": {
"spacing": 10,
"icon-size": 14
},
"clock": {
"format": "{:%H:%M}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
"on-click": "flatpak run eu.betterbird.Betterbird -calendar"
},
"battery": {
"bat": "BAT0",
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󰂄",
"format-plugged": "{capacity}%  ",
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "]
}
}