156 lines
4.1 KiB
JSON
156 lines
4.1 KiB
JSON
{
|
|
|
|
"battery": {
|
|
"format": "{capacity}% {icon}",
|
|
"format-alt": "{time} {icon}",
|
|
"format-charging": "{capacity}% \uf0e7 {icon}",
|
|
"format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"],
|
|
"format-plugged": "{capacity}% \ue55c",
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15
|
|
}
|
|
},
|
|
|
|
|
|
"disk": {
|
|
"interval": 30,
|
|
"format": "{percentage_used}% \uf0a0",
|
|
"on-click": "alacritty -e ncdu /",
|
|
"path": "/",
|
|
"tooltip-format": "{used} used out of {total} on {path} ({percentage_free}% or {free} free)"
|
|
},
|
|
|
|
|
|
"bluetooth": {
|
|
"format-disabled": "<big>\uf294</big>",
|
|
"format-off": "\uf294",
|
|
"format-on": "<big>\uf294</big>",
|
|
"format-connected": "<big>\uf294</big>c",
|
|
"max-length": 10.3,
|
|
"on-click": "alacritty --title 'FZF-Jump' -e ~/.scripts/fzf-jump/standalone.sh ~/.scripts/fzf-jump/modules/bluetooth.sh",
|
|
"tooltip-format": "{status}",
|
|
"tooltip-format-on": "{status}, no devices connected",
|
|
"tooltip-format-connected": "{status} ({num_connections}):\n{device_enumerate}",
|
|
"tooltip-format-enumerate-connected": "{device_alias} ({device_address})",
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}"
|
|
},
|
|
|
|
|
|
"clock": {
|
|
"format": "{:%H:%M}",
|
|
"format-alt": "{:%d/%m/%Y %H:%M}",
|
|
// "timezone": "Europe/Brussels",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
|
},
|
|
|
|
|
|
"custom/browser": {
|
|
"format": "\uf120",
|
|
"on-click": "alacritty -t 'FZF-Jump' -e ~/.scripts/fzf-jump/launcher.sh",
|
|
"tooltip-format": "Launch an application"
|
|
},
|
|
|
|
|
|
"custom/media": {
|
|
"escape": true,
|
|
"exec": "~/.config/waybar/mediaplayer.py 2> /dev/null",
|
|
"format": "{icon} {}",
|
|
"format-icons": {
|
|
"default": "\uf51f",
|
|
"spotify": "\uf1bc"
|
|
},
|
|
"max-length": 40,
|
|
"on-click": "playerctl play-pause",
|
|
"return-type": "json"
|
|
},
|
|
|
|
|
|
"cpu": {
|
|
"format": "{usage}% \uf2db",
|
|
"on-click": "alacritty -e htop",
|
|
"tooltip": true
|
|
},
|
|
|
|
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "\uf06e",
|
|
"deactivated": "\uf070"
|
|
},
|
|
"tooltip": false
|
|
},
|
|
|
|
|
|
"memory": {
|
|
"format": "{}% \uf1c0",
|
|
"on-click": "alacritty -e htop"
|
|
},
|
|
|
|
|
|
"network": {
|
|
"format-disconnected": "\uf127",
|
|
"format-ethernet": "\uf6ff {ifname}: {ipadds}/{cidr}",
|
|
"format-wifi": "\uf1eb",
|
|
"interval": 5,
|
|
"on-click-right": "alacritty -e nmtui",
|
|
"tooltip-format": "{ifname}: {ipaddr}",
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%)\n{ifname}: {ipaddr}"
|
|
},
|
|
|
|
|
|
"sway/window": {
|
|
"max-length": 85
|
|
},
|
|
|
|
|
|
"sway/workspaces": {
|
|
"all-outputs": false,
|
|
"disable-scroll": true,
|
|
"format": "{icon}{name}",
|
|
"format-icons": {
|
|
"default": "", // Prevent showing workspace name literal.
|
|
"urgent": "\uf071 "
|
|
},
|
|
// "persistent_workspaces": {
|
|
// "0:¯\\_(ツ)_/¯": []
|
|
// }
|
|
},
|
|
|
|
|
|
"pulseaudio": {
|
|
"format": "{volume}% {icon}{format_source}",
|
|
"format-bluetooth": "{volume}% {icon}\uf294{format_source}",
|
|
"format-bluetooth-muted": "\uf6a9 {icon}\uf294{format_source}",
|
|
"format-muted": "\uf6a9{format_source}",
|
|
"format-source": " {volume}% \uf130",
|
|
"format-source-muted": "",
|
|
"format-icons": {
|
|
"headphone": "\uf58f",
|
|
"hands-free": "\uf590",
|
|
"headset": "\uf590",
|
|
"phone": "\uf3ce",
|
|
"portable": "\uf3ce",
|
|
"car": "\uf1b9",
|
|
"default": ["\uf026", "\uf027", "\uf028 "]
|
|
},
|
|
"on-click": "pamixer --toggle-mute",
|
|
"on-click-right": "pavucontrol",
|
|
"scroll-step": 2
|
|
},
|
|
|
|
|
|
"temperature": {
|
|
"critical-threshold": 70,
|
|
"format": "{temperatureC}°C {icon}",
|
|
"format-icons": ["\uf2cb", "\uf2c9", "\uf2c7"]
|
|
},
|
|
|
|
|
|
"tray": {
|
|
"spacing": 10
|
|
}
|
|
|
|
}
|