shell-things/conf/waybar/config.json

62 lines
1.5 KiB
JSON

{
"battery": {
"format": "BAT {capacity}%",
"states": {
"critical": 20,
"warning": 45
}
},
"bluetooth": {
"format": "BT {status}",
"format-connected": "BT {device_alias}",
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
},
"clock": {
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
},
"cpu": {
"format": "CPU {usage}%"
},
"layer": "top",
"memory": {
"format": "RAM {percentage}%"
},
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": [
"gamemode",
"cpu",
"memory",
"battery",
"pulseaudio",
"sway/language",
"network",
"bluetooth",
"tray",
"clock"
],
"network": {
"format": "{ifname}",
"format-disconnected": "",
"format-ethernet": "{ifname} up",
"format-wifi": "{frequency}G {signalStrength}% {essid}",
"max-length": 50,
"tooltip-format": "{ifname}",
"tooltip-format-disconnected": "Disconnected",
"tooltip-format-ethernet": "{ifname} up",
"tooltip-format-wifi": "{frequency}G {signalStrength}% {essid}"
},
"position": "left",
"pulseaudio": {
"format": "VOL {volume}%",
"format-bluetooth": "BT VOL {volume}%",
"ignored-sinks": ["Easy Effects Sink", "Easy Effects Source"]
},
"sway/language": {
"format": "KBD {short} {variant}",
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
},
"sway/window": {
"max-length": 50
}
}