waybar/ai_config.jsonc
2025-01-18 02:16:26 +01:00

162 lines
No EOL
3.4 KiB
JSON

{
"layer": "top",
"position": "top",
"margin": 0,
"spacing": 0,
"modules-left": [
"hyprland/workspaces",
"custom/separator",
"hyprland/window"
],
"modules-center": [
"group/system_metrics"
],
"modules-right": [
"group/status",
"custom/separator",
"group/power"
],
"group/system_metrics": {
"orientation": "horizontal",
"modules": [
"cpu",
"memory",
"disk",
"network"
]
},
"group/status": {
"orientation": "horizontal",
"modules": [
"pulseaudio",
"battery",
"clock",
"custom/weather"
]
},
"hyprland/workspaces": {
"format": "{icon}",
"on-click": "activate",
"format-icons": {
"active": "󰐾",
"default": "󰐽",
"urgent": "󰗖"
}
},
"custom/separator": {
"format": "│",
"interval": "once",
"tooltip": false
},
"hyprland/window": {
"format": "{}",
"separate-outputs": true
},
"cpu": {
"interval": 1,
"format": "󰘚 {usage}%",
"max-length": 10,
"on-click": "foot htop"
},
"memory": {
"interval": 5,
"format": "󰍛 {percentage}%",
"max-length": 10
},
"disk": {
"interval": 30,
"format": "󰋊 {percentage_used}%",
"path": "/"
},
"network": {
"format-wifi": "󰖩 {essid}",
"format-ethernet": "󰈀 {ipaddr}",
"format-disconnected": "󰖪",
"tooltip-format": "{ifname} via {gwaddr}",
"on-click": "kitty --title 'Network Manager' nmtui",
"on-click-right": "nm-connection-editor"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "󰝟",
"format-icons": {
"default": ["󰕿", "󰖀", "󰕾"]
},
"on-click": "pavucontrol"
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-icons": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"]
},
"clock": {
"format": "󰥔 {:%H:%M}",
"format-alt": "󰃭 {:%Y-%m-%d}",
"tooltip-format": "<tt>{calendar}</tt>"
},
"custom/weather": {
"format": "{}°",
"tooltip": true,
"interval": 3600,
"exec": "wttrbar",
"return-type": "json"
},
"group/power": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 300,
"children-class": "power-item",
"transition-left-to-right": false
},
"modules": [
"custom/power",
"custom/lock",
"custom/reboot",
"custom/quit"
]
},
"custom/power": {
"format": "󰐥",
"on-click": "wlogout",
"tooltip": false
},
"custom/lock": {
"format": "󰌾",
"on-click": "swaylock --screenshots --clock --indicator --effect-pixelate 18 --effect-blur 8x8",
"tooltip": false
},
"custom/reboot": {
"format": "󰜉",
"on-click": "reboot",
"tooltip": false
},
"custom/quit": {
"format": "󰗼",
"on-click": "hyprctl dispatch exit",
"tooltip": false
}
}