mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 22:16:30 +00:00
84 lines
2.5 KiB
Text
84 lines
2.5 KiB
Text
{
|
|
"layer": "bottom",
|
|
"position": "top",
|
|
"height": 24,
|
|
// "width": 1366, // Waybar width
|
|
// Choose the order of the modules
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
"modules-center": ["sway/window"],
|
|
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "tray", "clock"],
|
|
"sway/workspaces": {
|
|
"disable-scroll-wraparound": true,
|
|
"all-outputs": false
|
|
// "format": "{icon}",
|
|
// "format-icons": {
|
|
// "1:web": "",
|
|
// "2:code": "",
|
|
// "3:term": "",
|
|
// "4:work": "",
|
|
// "5:music": "",
|
|
// "6:docs": "",
|
|
// "urgent": "",
|
|
// "focused": "",
|
|
// "default": ""
|
|
// }
|
|
},
|
|
"sway/mode": {
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
},
|
|
"tray": {
|
|
// "icon-size": 21,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"format-alt": "{:%Y-%m-%d}"
|
|
},
|
|
"cpu": {
|
|
"format": "{usage}% "
|
|
},
|
|
"memory": {
|
|
"format": "{}% "
|
|
},
|
|
"battery": {
|
|
"bat": "BAT0",
|
|
"states": {
|
|
// "good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
// "format-good": "", // An empty format will hide the module
|
|
// "format-full": "",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2s0", // (Optional) To force the use of this interface
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
|
"format-disconnected": "Disconnected ⚠"
|
|
},
|
|
"pulseaudio": {
|
|
//"scroll-step": 1,
|
|
"format": "{volume}% {icon}",
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
"format-muted": "",
|
|
"format-icons": {
|
|
"headphones": "",
|
|
"handsfree": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
}
|
|
//"custom/spotify": {
|
|
// "format": " {}",
|
|
// "max-length": 40,
|
|
// "interval": 30, // Remove this if your script is endless and write in loop
|
|
// "exec": "$HOME/.config/waybar/mediaplayer.sh 2> /dev/null", // Script in resources folder
|
|
// "exec-if": "pgrep spotify"
|
|
//}
|
|
}
|
|
|