dotfiles/waybar/config.json

84 lines
2.2 KiB
JSON
Raw Normal View History

2019-04-20 04:12:18 +00:00
{
"layer": "top",
"height": 35,
2019-04-20 04:12:18 +00:00
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
"modules-center": ["sway/window"],
2019-06-03 01:50:57 +00:00
"modules-right": ["pulseaudio", "network", "cpu", "memory", "backlight", "battery", "battery#bat2", "clock", "tray", "idle_inhibitor"],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true
},
2019-04-20 04:12:18 +00:00
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"spacing": 10
},
"clock": {
"tooltip-format": "{:%Y-%m-%d | %H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% "
},
"memory": {
"format": "{}% "
},
"backlight": {
"format": "{percent}% {icon}",
"format-icons": ["", ""]
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-disconnected": "⚠",
2019-06-02 22:50:41 +00:00
"on-click": "rofi-wifi-menu"
2019-04-20 04:12:18 +00:00
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
2019-05-01 03:27:35 +00:00
"on-click": "playerctl play-pause",
2019-04-20 04:12:18 +00:00
"escape": true,
2019-05-01 03:27:35 +00:00
"exec": "$HOME/.config/waybar/custom_modules/mediaplayer.py 2> /dev/null"
2019-04-20 04:12:18 +00:00
}
}