2018-08-09 10:05:48 +00:00
|
|
|
{
|
2018-08-10 16:57:46 +00:00
|
|
|
// "layer": "top", // Waybar at top layer
|
|
|
|
// "position": "bottom", // Waybar at the bottom of your screen
|
2018-08-11 07:59:35 +00:00
|
|
|
// "height": 30, // Waybar height
|
|
|
|
// "width": 1280, // Waybar width
|
2018-08-10 16:57:46 +00:00
|
|
|
// Choose the order of the modules
|
2018-08-15 18:17:17 +00:00
|
|
|
"modules-left": ["sway/workspaces", "custom/spotify"],
|
|
|
|
"modules-center": ["sway/window"],
|
2018-08-09 21:55:38 +00:00
|
|
|
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "clock"],
|
2018-08-10 16:57:46 +00:00
|
|
|
// Modules configuration
|
2018-08-15 19:03:49 +00:00
|
|
|
"sway/workspaces": {
|
2018-08-15 20:19:17 +00:00
|
|
|
// "all-outputs": true,
|
2018-08-15 12:48:08 +00:00
|
|
|
"format-icons": {
|
|
|
|
"1": "",
|
|
|
|
"2": "",
|
|
|
|
"3": "",
|
|
|
|
"4": "",
|
|
|
|
"5": ""
|
|
|
|
}
|
|
|
|
},
|
2018-08-09 11:30:11 +00:00
|
|
|
"cpu": {
|
|
|
|
"format": "{}% "
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"format": "{}% "
|
|
|
|
},
|
|
|
|
"battery": {
|
2018-08-13 20:33:07 +00:00
|
|
|
"format": "{capacity}% {icon}",
|
2018-08-11 11:15:31 +00:00
|
|
|
"format-icons": ["", "", "", "", ""]
|
2018-08-09 14:38:24 +00:00
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"interface": "wlp2s0",
|
2018-08-10 08:45:13 +00:00
|
|
|
"format": "{essid} ({signalStrength}%) "
|
2018-08-09 21:55:38 +00:00
|
|
|
},
|
|
|
|
"pulseaudio": {
|
2018-08-13 20:33:07 +00:00
|
|
|
"format": "{volume}% {icon}",
|
|
|
|
"format-muted": "",
|
|
|
|
"format-icons": ["", ""]
|
2018-08-10 14:26:46 +00:00
|
|
|
},
|
|
|
|
"custom/spotify": {
|
|
|
|
"format": " {}",
|
|
|
|
"exec": "$HOME/.bin/mediaplayer.sh"
|
2018-08-09 11:30:11 +00:00
|
|
|
}
|
2018-08-09 10:05:48 +00:00
|
|
|
}
|