mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-16 13:30:57 +01:00
conf/waybar/config.json: pretty-format-json
This commit is contained in:
parent
cf75cc27c2
commit
66015780cb
@ -1,62 +1,67 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "left",
|
"position": "left",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": [
|
||||||
"modules-right": [
|
"sway/workspaces",
|
||||||
"gamemode",
|
"sway/mode"
|
||||||
"cpu",
|
],
|
||||||
"memory",
|
"modules-right": [
|
||||||
"battery",
|
"gamemode",
|
||||||
"pulseaudio",
|
"cpu",
|
||||||
"sway/language",
|
"memory",
|
||||||
"network",
|
"battery",
|
||||||
"bluetooth",
|
"pulseaudio",
|
||||||
"tray",
|
"sway/language",
|
||||||
"clock"
|
"network",
|
||||||
],
|
"bluetooth",
|
||||||
"sway/window": {
|
"tray",
|
||||||
"max-length": 50
|
"clock"
|
||||||
},
|
],
|
||||||
"cpu": {
|
"sway/window": {
|
||||||
"format": "CPU {usage}%"
|
"max-length": 50
|
||||||
},
|
},
|
||||||
"memory": {
|
"cpu": {
|
||||||
"format": "RAM {percentage}%"
|
"format": "CPU {usage}%"
|
||||||
},
|
},
|
||||||
"bluetooth": {
|
"memory": {
|
||||||
"format": "BT {status}",
|
"format": "RAM {percentage}%"
|
||||||
"format-connected": "BT {device_alias}",
|
},
|
||||||
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
|
"bluetooth": {
|
||||||
},
|
"format": "BT {status}",
|
||||||
"pulseaudio": {
|
"format-connected": "BT {device_alias}",
|
||||||
"format": "VOL {volume}%",
|
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
|
||||||
"format-bluetooth": "BT VOL {volume}%",
|
},
|
||||||
"ignored-sinks": ["Easy Effects Sink", "Easy Effects Source"]
|
"pulseaudio": {
|
||||||
},
|
"format": "VOL {volume}%",
|
||||||
"battery": {
|
"format-bluetooth": "BT VOL {volume}%",
|
||||||
"states": {
|
"ignored-sinks": [
|
||||||
"warning": 45,
|
"Easy Effects Sink",
|
||||||
"critical": 20
|
"Easy Effects Source"
|
||||||
},
|
]
|
||||||
"format": "BAT {capacity}%"
|
},
|
||||||
},
|
"battery": {
|
||||||
"sway/language": {
|
"states": {
|
||||||
"format": "KBD {short} {variant}",
|
"warning": 45,
|
||||||
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
"critical": 20
|
||||||
},
|
},
|
||||||
"network": {
|
"format": "BAT {capacity}%"
|
||||||
//"interface": "wlan0",
|
},
|
||||||
"format": "{ifname}",
|
"sway/language": {
|
||||||
"format-wifi": "{frequency}G {signalStrength}% {essid}",
|
"format": "KBD {short} {variant}",
|
||||||
"format-ethernet": "{ifname} up",
|
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
||||||
"format-disconnected": "",
|
},
|
||||||
"tooltip-format": "{ifname}",
|
"network": {
|
||||||
"tooltip-format-wifi": "{frequency}G {signalStrength}% {essid}",
|
"format": "{ifname}",
|
||||||
"tooltip-format-ethernet": "{ifname} up",
|
"format-wifi": "{frequency}G {signalStrength}% {essid}",
|
||||||
"tooltip-format-disconnected": "Disconnected",
|
"format-ethernet": "{ifname} up",
|
||||||
"max-length": 50
|
"format-disconnected": "",
|
||||||
},
|
"tooltip-format": "{ifname}",
|
||||||
"clock": {
|
"tooltip-format-wifi": "{frequency}G {signalStrength}% {essid}",
|
||||||
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
|
"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}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user