conf/waybar/config.json: pretty-format-json

This commit is contained in:
Aminda Suomalainen 2023-10-22 20:36:09 +03:00
parent cf75cc27c2
commit 66015780cb
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

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