216 lines
5 KiB
JSON
216 lines
5 KiB
JSON
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"modules-left":
|
|
[
|
|
"custom/logo",
|
|
"clock",
|
|
"cpu",
|
|
"disk",
|
|
"memory",
|
|
"temperature",
|
|
"sway/window"
|
|
],
|
|
"modules-center":
|
|
[
|
|
"sway/workspaces"
|
|
],
|
|
"modules-right":
|
|
[
|
|
"tray",
|
|
"custom/updates",
|
|
"backlight",
|
|
"pulseaudio",
|
|
"network",
|
|
"bluetooth",
|
|
"idle_inhibitor",
|
|
"battery"
|
|
],
|
|
"reload_style_on_change": true,
|
|
|
|
"clock": {
|
|
"interval": 60,
|
|
"format": "{:%a %b %e %I:%M}",
|
|
"tooltip-format": "<tt>{calendar}</tt>",
|
|
"calendar": {
|
|
"mode" : "year",
|
|
"mode-mon-col": 3,
|
|
"weeks-pos" : "right",
|
|
"on-scroll" : 1,
|
|
"format": {
|
|
"months" : "<span color='#ffc777'><b>{}</b></span>",
|
|
"days" : "<span color='#c8d3f5'><b>{}</b></span>",
|
|
"weeks" : "<span color='#4fd6be'><b>W{}</b></span>",
|
|
"weekdays" : "<span color='#c099ff'><b>{}</b></span>",
|
|
"today" : "<span color='#ff757f'><b>{}</b></span>"
|
|
}
|
|
}
|
|
},
|
|
|
|
"custom/logo": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
|
|
"disk": {
|
|
"interval": 30,
|
|
"format": " {percentage_used}%",
|
|
"path": "/"
|
|
},
|
|
|
|
"memory": {
|
|
"format": " {percentage}%"
|
|
},
|
|
|
|
"temperature": {
|
|
"format": " {temperatureC}°C",
|
|
"format-critical": " {temperatureC}°C",
|
|
"interval": 1,
|
|
"critical-threshold": 80,
|
|
"on-click": "foot top"
|
|
},
|
|
|
|
"cpu": {
|
|
"interval": 1,
|
|
"format": "{icon}{usage}%",
|
|
"min-length": 6,
|
|
"max-length": 6,
|
|
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
|
},
|
|
|
|
"battery": {
|
|
"interval": 1,
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
"format-charging": "{capacity}% ",
|
|
"format-plugged": "{capacity}% ",
|
|
"format-alt": "{time} {icon}",
|
|
"format-icons": [
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" "
|
|
]
|
|
},
|
|
|
|
"sway/workspaces": {
|
|
"format": "{icon}",
|
|
"on-click": "activate",
|
|
"format-icons": {
|
|
"persistent": "",
|
|
"urgent": "",
|
|
"default": ""
|
|
},
|
|
"sort-by-number": true,
|
|
"persistent-workspaces": {
|
|
"1": [],
|
|
"2": [],
|
|
"3": [],
|
|
"4": [],
|
|
"5": [] }
|
|
},
|
|
|
|
"sway/window": {
|
|
"format": "{app_id}",
|
|
"max-length": 50,
|
|
"icon": false
|
|
},
|
|
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
|
|
"network": {
|
|
"format-wifi": " ",
|
|
"format-ethernet": " ",
|
|
"format-disconnected": " ",
|
|
"tooltip-format": "{ipaddr}",
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%) | {ipaddr}",
|
|
"tooltip-format-ethernet": "{ifname} | {ipaddr}",
|
|
"on-click": "bash /home/emge/Source/rofi-wifi-menu/rofi-wifi-menu.sh"
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"format": "{icon}",
|
|
"format-bluetooth": " ",
|
|
"format-muted": " ",
|
|
"format-icons": {
|
|
"default": ["", ""]
|
|
},
|
|
"justify": "center",
|
|
"tooltip-format": "{icon} {volume}%"
|
|
},
|
|
|
|
"backlight": {
|
|
"format": "{icon}",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"tooltip-format": "{percent}% {icon}"
|
|
},
|
|
|
|
"custom/notification": {
|
|
"tooltip": false,
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"notification": "<span foreground='red'><sup></sup></span>",
|
|
"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
|
|
},
|
|
|
|
"custom/updates": {
|
|
"format": "{icon}",
|
|
"return-type": "json",
|
|
"format-icons": {
|
|
"has-updates": " ",
|
|
"updated": ""
|
|
},
|
|
"exec-if": "which waybar-module-pacman-updates",
|
|
"exec": "waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300"
|
|
},
|
|
|
|
"bluetooth": {
|
|
"format-on": "",
|
|
"format-off": "",
|
|
"format-disabled": "",
|
|
"format-connection": "",
|
|
"format-connected-battery": "{device_battery_percentage}% ",
|
|
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
|
"on-click": "rofi-bluetooth"
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 18,
|
|
"spacing": 10
|
|
}
|
|
|
|
}
|
|
|
|
# vi: ft=json
|