{ "layer": "top", // Waybar at top layer "position": "right", // Waybar position (top|bottom|left|right) //"height": 40, "margin": "5 5 5 5", "width": 50, // Choose the order of the modules idle_inhibitor "modules-left": [ "hyprland/workspaces", "niri/workspaces", "tray", "custom/media", "privacy" ], "modules-center": [], "modules-right": [ "network", "wireplumber", "backlight", "battery", "clock", "custom/swaync" ], // Modules configuration "hyprland/workspaces": { "disable-scroll": true, "all-outputs": true, "format": "{icon}", // "format": "< %g >", // "format_focused" : "< %g ● >", "format-icons": { "1": "一", "2": "二", "3": "三", "4": "四", "5": "五", "6": "六", "7": "七", "8": "八", "9": "九", "10": "十" } }, "niri/workspaces": { "disable-scroll": true, "all-outputs": true, "format": "{icon}", "format-icons": { "1": "一", "2": "二", "3": "三", "4": "四", "5": "五", "6": "六", "7": "七", "8": "八", "9": "九", "10": "十" } }, "custom/media": { "rotate": 270, "format": "󰎇 {}", "max-length": 40, "escape": true, "exec": "playerctl metadata title -F", "on-click": "playerctl play-pause" }, "tray": { "icon-size": 22, "spacing": 5 }, "clock": { "tooltip-format": "{calendar}", "calendar": { "mode": "month", "mode-mon-col": 3, "weeks-pos": "right", "on-scroll": 1, "on-click-right": "mode", "format": { "months": "{}", "days": "{}", "weeks": "W{}", "weekdays": "{}", "today": "{}" } }, "actions": { "on-click-right": "mode", "on-click-forward": "tz_up", "on-click-backward": "tz_down", "on-scroll-up": "shift_up", "on-scroll-down": "shift_down" }, "format": " \n{:%I\n%M}", //12 hour format //"format": " {:%a %d %b  %I:%M %p}", //12 hour format // "format": " {:%d %m %Y  %H:%M}", //24 hour format "format-alt": "\n{:%d\n%m\n%y}", //"format-alt": " {:%d/%m/%Y  %H:%M:%S}", // //"timezones": [ "Kolkata" ], // //"max-length": 200 "interval": 1 }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "{icon}\n{capacity}", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"] //"format-icons": ["", "", "", "", "", "", "", "", "", ""] }, "backlight": { // "device": "acpi_video1", "format": "{icon}\n{percent}", "format-icons": ["", "", "", "", "", "", "", "", ""] }, "network": { // "interface": "wlp2s0", // (Optional) To force the use of this interface "format": "⚠", //"format-wifi": " {essid}", "format-wifi": " ", // "format-ethernet": " {ifname}: {ipaddr}/{cidr}", "format-ethernet": " ", "format-disconnected": "⚠", "on-click": "ghostty --fullscreen=true -e 'sleep 0.05; nmtui'" }, "wireplumber": { "format": "{icon}\n{volume}", "format-muted": "", "on-click": "helvum", "format-icons": ["", "", ""] }, "custom/swaync": { "tooltip": false, "format": "{} {icon}", "format-icons": { "notification": "󱅫", "none": "", "dnd-notification": " ", "dnd-none": "󰂛", "inhibited-notification": " ", "inhibited-none": "", "dnd-inhibited-notification": " ", "dnd-inhibited-none": " " }, "return-type": "json", "exec-if": "which swaync-client", "exec": "swaync-client -swb", "on-click": "sleep 0.1 && swaync-client -t -sw", "on-click-right": "sleep 0.1 && swaync-client -d -sw", "escape": true }, "privacy": { "icon-spacing": 4, "icon-size": 24, "transition-duration": 250, "modules": [ { "type": "screenshare", "tooltip": true, "tooltip-icon-size": 24 }, { "type": "audio-in", "tooltip": true, "tooltip-icon-size": 24 } ] } }