2023-11-10 01:37:05 +00:00
|
|
|
{
|
|
|
|
"layer": "top",
|
2023-11-12 02:58:40 +00:00
|
|
|
"modules-left":
|
|
|
|
[
|
|
|
|
"sway/workspaces",
|
|
|
|
"sway/scratchpad",
|
|
|
|
"sway/window"
|
|
|
|
],
|
|
|
|
"modules-center":
|
|
|
|
[
|
|
|
|
"clock"
|
|
|
|
],
|
|
|
|
"modules-right":
|
|
|
|
[
|
2024-01-13 23:19:54 +00:00
|
|
|
"tray",
|
2023-12-29 10:50:49 +00:00
|
|
|
"custom/temp2",
|
2023-11-12 02:58:40 +00:00
|
|
|
"custom/notification",
|
|
|
|
"custom/pacman",
|
|
|
|
"backlight",
|
|
|
|
"pulseaudio",
|
|
|
|
"network",
|
|
|
|
"idle_inhibitor",
|
|
|
|
"battery"
|
|
|
|
],
|
2023-11-10 01:37:05 +00:00
|
|
|
"spacing": 0,
|
|
|
|
|
|
|
|
"clock":
|
|
|
|
{
|
|
|
|
"interval": 60,
|
|
|
|
"tooltip": true,
|
|
|
|
"format": "{:%a %b %d %I:%M %p}",
|
|
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
|
|
"calendar":
|
|
|
|
{
|
|
|
|
"mode" : "year",
|
|
|
|
"mode-mon-col" : 3,
|
|
|
|
"weeks-pos" : "right",
|
|
|
|
"on-scroll" : 1,
|
|
|
|
"on-click-right" : "mode",
|
|
|
|
"format" :
|
|
|
|
{
|
|
|
|
"months" : "<span color='#FFEAD3'><b>{}</b></span>",
|
|
|
|
"days" : "<span color='#ECC6D9'><b>{}</b></span>",
|
|
|
|
"weeks" : "<span color='#99FFDD'><b>W{}</b></span>",
|
|
|
|
"weekdays" : "<span color='#FFCC66'><b>{}</b></span>",
|
|
|
|
"today" : "<span color='#FF6699'><b><u>{}</u></b></span>"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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
|
2023-11-11 12:57:52 +00:00
|
|
|
},
|
2023-11-10 01:37:05 +00:00
|
|
|
|
2023-11-11 12:57:52 +00:00
|
|
|
"custom/notification": {
|
|
|
|
"tooltip": false,
|
|
|
|
"format": "{icon}",
|
|
|
|
"format-icons": {
|
2023-11-12 22:53:42 +00:00
|
|
|
"notification": "<span foreground='red'><sup></sup></span>",
|
2023-11-11 12:57:52 +00:00
|
|
|
"none": "",
|
|
|
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
|
"dnd-none": "",
|
|
|
|
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
|
"inihibited-none": "",
|
|
|
|
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
|
"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
|
2023-11-12 02:58:40 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"custom/pacman": {
|
|
|
|
"format": "{icon}{}",
|
|
|
|
"return-type": "json",
|
|
|
|
"format-icons": {
|
|
|
|
"pending-updates": " ",
|
|
|
|
"updated": ""
|
|
|
|
},
|
|
|
|
"exec-if": "which waybar-updates",
|
|
|
|
"exec": "waybar-updates"
|
2023-12-29 10:50:49 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"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"
|
2024-01-13 23:19:54 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"tray": {
|
|
|
|
"icon-size": 18,
|
|
|
|
"spacing": 10
|
2023-11-11 12:57:52 +00:00
|
|
|
}
|
2023-11-10 01:37:05 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
# vi: ft=json
|