{ "output": ["DP-2"], "modules-left": ["hyprland/workspaces"], "modules-center": ["clock","custom/weather"], "modules-right": ["tray","custom/scratchpad-indicator","bluetooth","custom/recording","custom/kblayout","memory","cpu","pulseaudio","custom/power"], "sway/mode": { "format": "{}" }, "network": { "format-wifi": "{essid} ({signalStrength}%) ", "format-ethernet": "{ifname} ", "format-disconnected": "", "max-length": 50, "on-click": "kitty -e 'nmtui'" }, "bluetooth": { "type": "internal/bluetooth", "adapter": "hci0", "format-on": "", "format-off": "", "on-click": "blueman-manager", "interval": 5 }, "battery": { "interval": 10, "states": { "warning": 30, "critical": 15 }, // Connected to AC "format": " {icon} {capacity}%", // Icon: bolt // Not connected to AC "format-discharging": "{icon} {capacity}%", "format-icons": [ "", // Icon: battery-full "", // Icon: battery-three-quarters "", // Icon: battery-half "", // Icon: battery-quarter "" // Icon: battery-empty ], "tooltip": true }, "tray": { "icon-size": 15, "spacing": 10 }, "clock": { // "tooltip-format": "{:%Y %B}\n{calendar}", // "format-alt": "{:%A, %H:%M}" "format": "{:%a %H:%M}", //"on-click": "gnome-calendar", "tooltip-format": "{:%d.%m.%Y}", "interval": 60 }, "hyprland/workspaces": { "format": "{icon}", "on-click": "activate", "on-scroll-up": "hyprctl dispatch workspace -1", "on-scroll-down": "hyprctl dispatch workspace +1", "format-icons": { "active": "", "urgent": "", "default": "" }, "persistent-workspaces": { "*": [ 1,2 ] } }, "custom/weather": { "format": "{}", "tooltip": true, "interval": 1800, "exec": "$HOME/.config/waybar/scripts/weather.py", "return-type": "json" }, "custom/recording": { "exec": "if pgrep -x wf-recorder > /dev/null || pgrep -x obs > /dev/null; then echo '⏺'; else echo ''; fi", "interval": 1, "return-type": "text" }, "custom/kblayout": { "exec": "hyprctl -j devices | jq -r '.keyboards[] | select(.main == true) | .active_keymap | ascii_downcase | if test(\"turk\") then \"tr\" elif test(\"us|english\") then \"en\" else \"??\" end'", "interval": 1 }, "memory": { "interval": 30, "format": " {used:0.1f}GB", "max-length": 10, "tooltip": false, "on-click": "kitty --title btop -e btop" }, "cpu": { "interval": 10, "format": "{usage}%", "max-length": 10, "tooltip": false, "on-click": "swaync-client -t" }, "temperature": { "thermal-zone": 1, "format": "", "format-alt-click": "click-right", "format-alt": " {temperatureC}°C", "critical-threshold": 70, "format-critical": " {temperatureC}°C", }, "pulseaudio": { "format": "{volume}% {icon} ", "format-bluetooth": "{volume}% {icon} {format_source}", "format-bluetooth-muted": " {icon} {format_source}", "format-muted": "0% {icon} ", "format-source": "{volume}% ", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol" }, "custom/power": { "format": " ", "on-click": "wlogout", "tooltip": false } }