Files
nixos/Droidnix/generated/.config/waybar/config
T
2026-04-20 20:33:52 +02:00

226 lines
4.5 KiB
Plaintext

{
"layer": "top",
"position": "top",
"autohide": true,
"autohide-blocked": false,
"exclusive": true,
"passthrough": false,
"gtk-layer-shell": true,
/*******************************************************************/
"modules-left": [
"group/connections"
,"group/hardware"
],
"modules-center": [
"group/workspaces"
,"custom/power"
,"custom/media"
,"custom/batterywarn"
#,"custom/kdeconnect"
],
"modules-right": [
"group/audio"
,"tray"
,"clock"
,"idle_inhibitor"
],
/*******************************************************************/
"group/workspaces": {
"orientation": "horizontal",
"modules": [
"hyprland/workspaces",
"custom/windows"
]
},
/*******************************************************************/
"group/hardware": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true
},
"modules": [
"custom/hardware-anchor",
"battery",
"cpu",
"memory",
"temperature"
]
},
"custom/hardware-anchor": {
"format": " ",
"tooltip": false
},
/*************************/
"group/connections": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true
},
"modules": [
"custom/connections-anchor",
"custom/bluetooth",
"network"
]
},
"custom/connections-anchor": {
"format": " ",
"tooltip": false
},
/*************************/
"group/audio": {
"orientation": "horizontal",
"modules": [
/* "custom/media", */
"pulseaudio",
"pulseaudio/slider",
]
},
/*******************************************************************/
"hyprland/workspaces": {
"align": 1,
"format": "{name}",
"interval": 2,
},
"custom/windows": {
"align": 0,
"format": "{text}",
"exec": "~/.config/scripts/hypr-workspaces.sh",
"interval": 2,
"return-type": "json",
"on-click": "~/.config/scripts/hypr-workspacesmenu.sh",
"tooltip": true
},
"custom/media": {
"exec": "~/.config/scripts/media.sh",
"interval": 1,
"return-type": "json",
"format": "{}",
"on-click": "qs -c media",
"max-length": 20,
"scroll-step": 1,
"tooltip": true
},
"custom/bluetooth": {
"exec": "~/.config/scripts/bluetooth-status.sh",
"interval": 5,
"return-type": "json",
"on-click": "blueman-manager",
"format": "{}"
},
"custom/batterywarn": {
"exec": "~/.config/scripts/batterywarn.sh",
"interval": 60,
"format": "{}"
},
"custom/kdeconnect": {
"format": "{name} {battery}% ",
"interval": 10,
"exec": "~/.config/scripts/kdeconnect-status.sh",
"tooltip": true
},
"idle_inhibitor": {
"tooltip": true,
"format": "{icon}",
"format-icons": {
"activated": "  ",
"deactivated": " 󰒲 "
},
"tooltip-format-activated": "Staying awake",
"tooltip-format-deactivated": "Might sleep...."
},
"custom/power": {
"format": "󰤄",
"on-click": "qs -c powermenu",
"tooltip-format": "Power Menu"
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphones": "",
"headset": "",
"phone": "",
"portable": "",
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"pulseaudio/slider": {
"min": 0,
"max": 100,
"orientation": "horizontal"
},
"network": {
"format-wifi": " ({bandwidthDownBits})",
"format-ethernet": " ({bandwidthDownBits})",
"format-disconnected": "Disconnected ⚠",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"on-click": "networkmanager_dmenu --dmenu --style ~/.config/wofi/style.css --allow-images=false",
"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
},
"battery": {
"bat": "BAT0",
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󰂄",
"format-plugged": "{capacity}%  ",
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "]
}
}