diff --git a/ai_config.jsonc b/ai_config.jsonc new file mode 100644 index 0000000..a029487 --- /dev/null +++ b/ai_config.jsonc @@ -0,0 +1,160 @@ +{ + "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}" + }, + + "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": "{calendar}" + }, + + "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 + } +} \ No newline at end of file