waybar: update config
This commit is contained in:
parent
af68d8f282
commit
3d5eef6e56
1 changed files with 29 additions and 7 deletions
|
|
@ -2,9 +2,22 @@
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"spacing": 10,
|
"spacing": 10,
|
||||||
"modules-left": ["niri/workspaces"],
|
"modules-left": [
|
||||||
"modules-center": ["clock#1", "clock#2", "clock#3"],
|
"niri/workspaces"
|
||||||
"modules-right": ["pulseaudio", "memory", "cpu", "battery", "disk", "tray"],
|
],
|
||||||
|
"modules-center": [
|
||||||
|
"clock#1",
|
||||||
|
"clock#2",
|
||||||
|
"clock#3"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"pulseaudio",
|
||||||
|
"memory",
|
||||||
|
"cpu",
|
||||||
|
"battery",
|
||||||
|
"disk",
|
||||||
|
"tray"
|
||||||
|
],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"format": "{name}"
|
"format": "{name}"
|
||||||
|
|
@ -27,7 +40,10 @@
|
||||||
"format-muted": "",
|
"format-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphones": "",
|
"headphones": "",
|
||||||
"default": ["", ""]
|
"default": [
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"scroll-step": 5,
|
"scroll-step": 5,
|
||||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||||
|
|
@ -44,12 +60,18 @@
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"states": {
|
"states": {
|
||||||
"good": 95,
|
"good": 50,
|
||||||
"warning": 30,
|
"warning": 30,
|
||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"disk": {
|
"disk": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
|
|
@ -60,4 +82,4 @@
|
||||||
"icon-size": 22,
|
"icon-size": 22,
|
||||||
"spacing": 6
|
"spacing": 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue