mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
{
|
|
// "layer": "top", // Waybar at top layer
|
|
// "position": "bottom", // Waybar at the bottom of your screen
|
|
// "height": 30, // Waybar height
|
|
// "width": 1280, // Waybar width
|
|
// Choose the order of the modules
|
|
"modules-left": ["sway/workspaces", "custom/spotify"],
|
|
"modules-center": ["sway/window"],
|
|
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "clock"],
|
|
// Modules configuration
|
|
"sway/workspaces": {
|
|
// "disable-scroll": true,
|
|
// "all-outputs": true,
|
|
// "format-icons": {
|
|
// "1": "",
|
|
// "2": "",
|
|
// "3": "",
|
|
// "4": "",
|
|
// "5": ""
|
|
// }
|
|
},
|
|
"cpu": {
|
|
"format": "{}% "
|
|
},
|
|
"memory": {
|
|
"format": "{}% "
|
|
},
|
|
"battery": {
|
|
"format": "{capacity}% {icon}",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
"network": {
|
|
"interface": "wlp2s0",
|
|
"format": "{essid} ({signalStrength}%) "
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{volume}% {icon}",
|
|
"format-muted": "",
|
|
"format-icons": ["", ""]
|
|
},
|
|
"custom/spotify": {
|
|
"format": " {}",
|
|
"max-length": 40,
|
|
"exec": "$HOME/.bin/mediaplayer.sh"
|
|
}
|
|
}
|