Files
nixos/Droidnix/generated/.config/waybar/config.jsonc
T
2026-04-22 13:46:31 +02:00

264 lines
5.7 KiB
JSON

{
"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"
,"custom/notifications"
],
/*******************************************************************/
"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
},
"custom/notifications": {
"tooltip": false,
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"format": "{icon}",
"format-icons": {
"notification": "",
"none": "",
"dnd-notification": "󰂠",
"dnd-none": "󰪓",
},
"on-click": "swaync-client -t",
"on-click-right": "swaync-client -d",
"on-click-middle": "swaync-client -dn",
},
"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"
},
"idle_inhibitor": {
"tooltip": true,
"format": "{icon}",
"format-icons": {
"activated": "  ",
"deactivated": " 󰒲 "
},
"tooltip-format-activated": "Staying awake",
"tooltip-format-deactivated": "Might sleep...."
},
"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
},
"clock": {
"format": "{:%H:%M}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "left",
"on-scroll" : 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#fab387'><b>{}</b></span>",
"days": "<span color='#cba6f7'><b>{}</b></span>",
"weeks": "<span color='#a6e3a1'><b>W{}</b></span>",
"weekdays": "<span color='#f9e2af'><b>{}</b></span>",
"today": "<span color='#1e1e2e' bgcolor='#a6e3a1'><b> {} </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": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "]
}
}