{ "layer": "top", "position": "top", "margin-left": 3, "margin-bottom": 0, "margin-right": 3, "spacing": 1, "modules-left": [ "hyprland/workspaces", "custom/screenshot_t", "idle_inhibitor" ], "modules-right": [ "cpu", "memory", "network", "bluetooth", "pulseaudio", "battery", "clock", // "custom/power", "tray" ], // ------------------------------------------------------------------------- // Modules // ------------------------------------------------------------------------- "custom/screenshot_t": { "format":" ", "on-click": "~/.config/waybar/scripts/screenshot_full", "on-click-right":"~/.config/waybar/scripts/screenshot_area" }, "cpu": { "interval": 3, "format": " {usage}%", "max-length": 7, "min-length": 7 }, "memory": { "interval": 3, "format": " {used:0.2f}GB", "max-length": 12, "min-length": 12 }, "battery": { "interval": 5, "states": { "good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-charging": " {capacity}%", "format-plugged": " {capacity}%", "format-icons": [ "", "", "", "", "" ] }, "network": { "format-wifi": " {signalStrength}% | {bandwidthUpBytes} {bandwidthDownBytes}", "format-ethernet": "{ifname} | {bandwidthUpBytes} {bandwidthDownBytes}", "format-linked": "{ifname} No IP", "format": "", "format-disconnected": "¯\\_(ツ)_/¯", "on-click": "alacritty -e 'nmtui'", "tooltip-format": "{ifname}\n{ipaddr}/{cidr}", "tooltip-format-wifi": "{essid} {frequency}MHz\nStrength: {signaldBm}dBm ({signalStrength}%)\nIP: {ipaddr}/{cidr}", "interval": 3, "min-length": 32 }, "bluetooth": { "format-disabled": " off", "format-off": " off", "format-on": " on", "interval": 3, "on-click": "blueman-manager" }, "idle_inhibitor": { "format": "{icon} ", "format-icons": { "activated": "", "deactivated": "" }, "tooltip": "true" }, "custom/power": { "format": "", "tooltip": false, "on-click": "wlogout" }, "clock": { "format": " {:%d %b %Y | %H:%M}" }, "hyprland/workspaces": { "all-outputs": true, "format": "{name}", "format-icons": { "1": "一", "2": "二", "3": "三", "4": "四", "5": "五", "6": "六", "7": "七", "8": "八", "9": "九", "10": "十" }, "on-scroll-up": "hyprctl dispatch workspace e+1 1>/dev/null", "on-scroll-down": "hyprctl dispatch workspace e-1 1>/dev/null", "sort-by-number": true, "active-only": false }, "hyprland/window": { "max-length": 100, "separate-outputs": true }, "pulseaudio": { "scroll-step": 3, // %, can be a float "format": "{icon} {volume}% | {format_source}", "format-bluetooth": "{volume}% {icon} | {format_source}", "format-bluetooth-muted": " {icon} | {format_source}", "format-muted": " | {format_source}", //"format-source": "{volume}% ", //"format-source-muted": "", "format-source": "", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol", "on-click-right": "amixer sset Master toggle" }, "wireplumber": { "on-click": "pavucontrol", "on-click-right": "amixer sset Master toggle 1>/dev/null", //on-click: "${wpctl} set-mute @DEFAULT_AUDIO_SINK@ toggle"; //on-scroll-down: "${wpctl} set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 0.04+"; //on-scroll-up: "${wpctl} set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 0.04-"; "format": "{icon} {volume}%", "format-muted": " ", "format-source": "", "format-source-muted": "", //"format-muted": "", //"format-icons": [ "" ] "format-icons": { "headphone": " ", "hands-free": " ", "headset": " ", "phone": " ", "portable": " ", "car": " ", "default": [" ", " ", " "] } }, "tray": { "icon-size": 15, "spacing": 5 } }