{ "layer": "top", "modules-left": ["sway/workspaces","sway/scratchpad","sway/window"], "modules-center": ["clock"], "modules-right": ["backlight","pulseaudio","network","idle_inhibitor","battery"], "spacing": 0, "clock": { "interval": 60, "tooltip": true, "format": "{:%a %b %d %I:%M %p}", "tooltip-format": "{calendar}", "calendar": { "mode" : "year", "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" } }, "custom/bg": { "format": "", "exec": "~/Scripts/background-changer.sh", "interval": 3600, "on-click": "exec", "tooltip": true, "tooltip-format": "Click to Randomize Wallpaper" }, "custom/pacman": { "format": "{} ", "interval": 3600, "exec": "checkupdates | wc -l", "exec-if": "exit 0" }, "battery": { "interval": 60, "states": { "warning": 30, "critical": 15 }, "format": "{capacity}% {icon}", "format-icons": ["", "", "", "", ""] }, "sway/workspaces": { "disable-scroll": false, "all-outputs": true, "format": "{name}" }, "sway/window": { "format": "{}", "max-length": 50, "icon": false }, "sway/scratchpad": { "format": "{icon} {count}", "show-empty": true, "format-icons": ["",""], "tooltip": true, "tooltip-format": "{app}: {title}" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "󰛐", "deactivated": "󰛑" }, "timeout": 30.5 }, "network": { "format": "{ifname}", "format-wifi": "{signalStrength}% ", "format-ethernet": "{ifname} 󰈀", "format-disconnected": "" }, "pulseaudio": { "format": "{volume}% {icon}", "format-bluetooth": "{volume}% {icon} ", "format-muted": "", "format-icons": { "default": ["", ""] }, "scroll-step": 1 }, "backlight": { "format": "{percent}% {icon}", "format-icons": ["󰃞","󰃟","󰃠"], "on-scroll-up": "brightnessctl set 1+", "on-scroll-down": "brightnessctl set 1-", "scroll-step": 0.5 } } # vi: ft=json