dotfiles-old/.config/waybar/config

72 lines
1.9 KiB
Plaintext

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