1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- {
- //Icons:
- "position": "top",
- "modules-left": ["sway/workspaces", "sway/mode"],
- "modules-center": ["wlr/taskbar"],
- "modules-right": ["clock", "pulseaudio", "battery", "network", "disk"],
- // Left
- "sway/workspaces": {
- "disable-scroll": true,
- "format": "{icon}{name}",
- "format-icons": {
- "urgent": "",
- "focused": "",
- "default": ""
- },
- "persistent_workspaces": {
- "1": ["eDP-1", "DP-2"],
- "2": ["eDP-1", "DP-2"],
- "3": ["eDP-1", "DP-2"],
- "4": ["eDP-1", "DP-2"],
- "5": ["eDP-1", "DP-2"],
- "6": ["DP-3"],
- "7": ["DP-3"],
- "8": ["DP-3"],
- "9": ["DP-3"],
- "10": ["DP-3"]
- }
- },
- "sway/mode": {
- "format": " | mode: {} "
- },
- // Center
- "wlr/taskbar": {
- "format": "{icon}",
- "icon-size": 21,
- "all-outputs": true,
- "tooltip-format": "{title}",
- "on-click": "activate"
- },
-
- // Right
- "clock": {
- "interval": 60,
- //
- // https://howardhinnant.github.io/date/date.html#to_stream_formatting
- "timezone": "America/Chicago",
- "format": " {:%OI:%M %p} | ",
- "tooltip-format": "{:%R %a. %D}",
- "max-length": 30
- },
- "pulseaudio": {
- "interval": 10,
- "scroll-step": 1,
- "on-click": "pavucontrol",
- "format": "{icon} {volume}%",
- "format-muted": " muted",
- "format-icons": {
- "default": ["", "", ""]
- }
- },
- "network": {
- "interval": 60,
- "format-ethernet": " | {ifname}",
- "format-wifi": " | {essid}",
- "format-disconnected": " | 睊 no internet",
- "tooltip-format": "{ifname}",
- "on-click": "nmtui",
- "max-length": 80
- },
- "battery": {
- "design-capacity": false,
- "interval": 30,
- "states": {
- "full": 100,
- "moderate": 50,
- "low": 30,
- "critical": 15
- },
- "tooltip-format": "{time} til empty",
- "format-charging": " | {capacity}% {time} til full",
- "format": " | {icon} {capacity}%",
- "format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
- "max-length": 50
- },
- "disk": {
- "interval": 100,
- "path": "/",
- "format": " | 力 {percentage_used}% ",
- },
- }
|