{
"layer": "top",
"modules-left":
[
"sway/workspaces",
"sway/scratchpad",
"sway/window"
],
"modules-center":
[
"clock"
],
"modules-right":
[
"tray",
"custom/temp2",
"custom/notification",
"custom/pacman",
"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"
},
"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
},
"custom/notification": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "",
"none": "",
"dnd-notification": "",
"dnd-none": "",
"inhibited-notification": "",
"inihibited-none": "",
"dnd-inhibited-notification": "",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"custom/pacman": {
"format": "{icon}{}",
"return-type": "json",
"format-icons": {
"pending-updates": " ",
"updated": ""
},
"exec-if": "which waybar-updates",
"exec": "waybar-updates"
},
"temperature": {
"thermal-zone": 0,
"critical-threshold": 80,
"formate-critical": "{temperatureC}°C",
"format": "{temperatureC}°C"
},
"custom/temp2": {
"hwmon-path": ["/sys/class/hwmon/hwmon2/temp1_input", "/sys/class/thermal/thermal_zone0/temp"],
"critical-threshold": 80,
"formate-critical": "{temperatureC}°C",
"format": "{temperatureC}°C"
},
"tray": {
"icon-size": 18,
"spacing": 10
}
}
# vi: ft=json