dotfiles/.config/waybar/config

217 lines
5 KiB
Text
Raw Normal View History

2023-11-10 01:37:05 +00:00
{
"layer": "top",
"position": "top",
2023-11-12 02:58:40 +00:00
"modules-left":
[
"custom/logo",
"clock",
"cpu",
"disk",
"memory",
"temperature",
"sway/window"
],
"modules-center":
[
"sway/workspaces"
],
2023-11-12 02:58:40 +00:00
"modules-right":
[
"tray",
"custom/updates",
"backlight",
"pulseaudio",
"network",
"bluetooth",
"idle_inhibitor",
"battery"
],
"reload_style_on_change": true,
"clock": {
2023-11-10 01:37:05 +00:00
"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>"
2023-11-10 01:37:05 +00:00
}
}
},
"custom/logo": {
"format": "",
"tooltip": false
2023-11-10 01:37:05 +00:00
},
"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": {
2023-11-10 01:37:05 +00:00
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󰂄 ",
"format-plugged": "{capacity}% 󰂄 ",
"format-alt": "{time} {icon}",
"format-icons": [
"󰁻 ",
"󰁼 ",
"󰁾 ",
"󰂀 ",
"󰂂 ",
"󰁹 "
]
2023-11-10 01:37:05 +00:00
},
"sway/workspaces": {
"format": "{icon}",
"on-click": "activate",
"format-icons": {
"persistent": "",
"urgent": "",
"default": ""
},
"sort-by-number": true,
"persistent-workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [] }
2023-11-10 01:37:05 +00:00
},
"sway/window": {
"format": "{app_id}",
2023-11-10 01:37:05 +00:00
"max-length": 50,
"icon": false
},
"idle_inhibitor": {
2023-11-10 01:37:05 +00:00
"format": "{icon}",
"format-icons": {
2023-11-10 01:37:05 +00:00
"activated": "󰛐",
"deactivated": "󰛑"
}
2023-11-10 01:37:05 +00:00
},
"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"
2023-11-10 01:37:05 +00:00
},
"pulseaudio": {
"format": "{icon}",
"format-bluetooth": "󰂰 ",
"format-muted": " ",
"format-icons": {
2023-11-10 01:37:05 +00:00
"default": ["", ""]
},
"justify": "center",
"tooltip-format": "{icon} {volume}%"
2023-11-10 01:37:05 +00:00
},
"backlight": {
"format": "{icon}",
"format-icons": [
"󰃞",
"󰃝",
"󰃟",
"󰃠"
],
"tooltip-format": "{percent}% {icon}"
},
2023-11-10 01:37:05 +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>",
"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/updates": {
"format": "{icon}",
2023-11-12 02:58:40 +00:00
"return-type": "json",
"format-icons": {
"has-updates": " ",
2023-11-12 02:58:40 +00:00
"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
}
2023-11-10 01:37:05 +00:00
}
# vi: ft=json