dotfiles-old/.config/waybar/config

72 lines
1.9 KiB
Plaintext
Raw Normal View History

//stole this from: https://git.sr.ht/~oscarcp/ghostfiles/tree/master/item/waybar/config
2022-03-10 03:42:22 +00:00
{
"layer": "top",
"position": "top",
//"modules-left": ["custom/media"],
"modules-left": ["wlr/workspaces", "sway/mode", "custom/media"],
"modules-right": ["custom/keyboard", "network", "battery", "pulseaudio", "clock", "custom/quit"],
2022-03-10 03:42:22 +00:00
"wlr/workspaces": {
"format": "{icon}",
"on-click": "activate",
"format-icons": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"urgent": "",
"active": "",
"default": ""
}
},
2022-03-10 03:42:22 +00:00
"clock": {
"format": "{:%H:%M}",
"format-alt": "{:%a %b %d}",
2022-03-10 03:42:22 +00:00
"tooltip": false
},
"battery": {
"states": {
"good": 95,
2022-03-10 03:42:22 +00:00
"warning": 30,
"critical": 15
},
"bat":"BAT1",
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-discharging": " {capacity}%",
"format-alt": "{icon} {time}",
2022-03-10 03:42:22 +00:00
"format-icons": ["", "", "", "", ""]
},
"network": {
"format": "{ifname}",
"format-wifi": " {essid}",
"format-ethernet": " {ifname}",
"format-disconnected": "",
"tooltip-format-wifi": "{signalStrength}%",
"max-length": 20
2022-03-10 03:42:22 +00:00
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "",
2022-03-10 03:42:22 +00:00
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
2022-03-10 03:42:22 +00:00
},
"scroll-step": 1,
2022-03-10 03:42:22 +00:00
"on-click": "pavucontrol"
},
"custom/quit": {
"format": "",
"on-click": "waylogout"
2022-03-10 03:42:22 +00:00
}
}