{ "layer": "top", "height": 40, "modules-left": [ "wlr/workspaces", "sway/workspaces" ], "modules-center": [ "wlr/window", "sway/window" ], "modules-right": [ "idle_inhibitor", "pulseaudio", "backlight", "battery", "cpu", "memory", "temperature", "keyboard", "clock", "tray" ], "sway/workspaces": { "max-width": 100, "disable-scroll": false, "all-outputs": false, "format": "{name} {icon}", "format-icons": { "urgent": "", "focused": "", "default": "" }, "on-click": "activate" }, "wlr/workspaces": { "max-width": 100, "disable-scroll": false, "all-outputs": false, "format": "{name} {icon}", "format-icons": { "urgent": "", "focused": "", "default": "" }, "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", "on-click": "activate" }, "keyboard-state": { "numlock": true, "capslock": true, "format": "{name} {icon} {state}", "format-icons": { "locked": "", "unlocked": "" } }, "sway/keyboard": { "format": "{short} {variant}", "on-click": "swaymsg input type:keyboard xkb_switch_layout next" }, "wlr/mode": { "format": "{}", "max-length": 50, "tooltip": true }, "sway/mode": { "format": "{}", "max-length": 50, "tooltip": true }, "mpd": { "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", "format-disconnected": "Disconnected ", "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", "unknown-tag": "N/A", "interval": 2, "consume-icons": { "on": " " }, "random-icons": { "off": " ", "on": " " }, "repeat-icons": { "on": " " }, "single-icons": { "on": "1 " }, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "tray": { "icon-size": 21, "spacing": 12 }, "clock": { "format": "{:%H:%M:%S}  ", "interval": 1, "format-alt": "{:%A, %B %d, %Y (%H:%M:%S)}  ", "locale": "nb_NO.UTF-8", "tooltip-format": "\n{calendar}", "calendar": { "mode": "month", "mode-mon-col": 3, "weeks-pos": "left", "on-scroll": 1, "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" } }, "cpu": { "format": "{usage}% ", "tooltip": false }, "memory": { "format": "{}% " }, "temperature": { "critical-threshold": 80, "format": "{temperatureC}°C {icon}", "format-icons": [ "", "", "" ] }, "backlight": { "format": "{percent}% {icon}", "format-icons": [ "", "" ] }, "battery": { "states": { "good": 95, "warning": 30, "critical": 15 }, "format": "{capacity}% {icon}", "format-charging": "{capacity}% ", "format-plugged": "{capacity}% ", "format-alt": "{time} {icon}", "format-icons": [ "", "", "", "", "" ] }, "pulseaudio": { "format": "{volume}% {icon} {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-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": [ "", "", "" ] }, "on-click": "pavucontrol" } }