waybar/resources/config

46 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-08-09 12:05:48 +02:00
{
2018-08-10 18:57:46 +02:00
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar at the bottom of your screen
2018-08-11 09:59:35 +02:00
// "height": 30, // Waybar height
// "width": 1280, // Waybar width
2018-08-10 18:57:46 +02:00
// Choose the order of the modules
2018-08-15 20:17:17 +02:00
"modules-left": ["sway/workspaces", "custom/spotify"],
"modules-center": ["sway/window"],
2018-08-09 23:55:38 +02:00
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "clock"],
2018-08-10 18:57:46 +02:00
// Modules configuration
"sway/workspaces": {
// "all-outputs": true,
2018-08-16 14:29:41 +02:00
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": ""
// }
2018-08-15 14:48:08 +02:00
},
2018-08-09 13:30:11 +02:00
"cpu": {
"format": "{}% "
},
"memory": {
"format": "{}% "
},
"battery": {
2018-08-13 22:33:07 +02:00
"format": "{capacity}% {icon}",
2018-08-11 13:15:31 +02:00
"format-icons": ["", "", "", "", ""]
2018-08-09 16:38:24 +02:00
},
"network": {
"interface": "wlp2s0",
"format": "{essid} ({signalStrength}%) "
2018-08-09 23:55:38 +02:00
},
"pulseaudio": {
2018-08-13 22:33:07 +02:00
"format": "{volume}% {icon}",
"format-muted": "",
"format-icons": ["", ""]
},
"custom/spotify": {
"format": " {}",
2018-08-16 17:09:51 +02:00
"max-length": 40,
"exec": "$HOME/.bin/mediaplayer.sh"
2018-08-09 13:30:11 +02:00
}
2018-08-09 12:05:48 +02:00
}