83 lines
2.0 KiB
Plaintext
83 lines
2.0 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"modules-left": [
|
|
"custom/arch",
|
|
"hyprland/workspaces"
|
|
],
|
|
"modules-center": [
|
|
"clock",
|
|
"custom/spotify"
|
|
],
|
|
"modules-right": [
|
|
"cpu",
|
|
"memory",
|
|
"pulseaudio",
|
|
"bluetooth",
|
|
"network"
|
|
],
|
|
"custom/arch": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
"on-click": "sh $HOME/.config/rofi/bin/powermenu"
|
|
},
|
|
"hyprland/workspaces": {
|
|
"format": "{icon}",
|
|
"tooltip": false,
|
|
"all-outputs": true,
|
|
"format-icons": {
|
|
"active": "",
|
|
"default": ""
|
|
}
|
|
},
|
|
"clock": {
|
|
"format": "<span color='#b4befe'> </span>{0:%H:%M:%S} <span color='#b4befe'> </span>{0:%d.%m.%Y W%W}",
|
|
"interval": 1
|
|
},
|
|
"custom/spotify": {
|
|
"exec": "/usr/bin/python3 /home/paul/downloads/repos/Waybar/resources/custom_modules/mediaplayer.py --player spotify",
|
|
"format": "{} ",
|
|
"return-type": "json",
|
|
"on-click": "playerctl play-pause",
|
|
"on-scroll-up": "playerctl next",
|
|
"on-scroll-down": "playerctl previous"
|
|
},
|
|
"cpu": {
|
|
"format": "<span color='#b4befe'></span> {usage}%",
|
|
"interval": 5
|
|
},
|
|
"memory": {
|
|
"format": "<span color='#b4befe'></span> {percentage}% ({used}GiB)",
|
|
"interval": 5
|
|
},
|
|
"pulseaudio": {
|
|
"format": "<span color='#b4befe'>{icon}</span> {volume}%",
|
|
"format-muted": "",
|
|
"tooltip": false,
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"default": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"scroll-step": 1,
|
|
},
|
|
"bluetooth": {
|
|
"format": "<span color='#b4befe'></span> {status}",
|
|
"format-disabled": "", // an empty format will hide the module
|
|
"format-connected": "<span color='#b4befe'></span> {num_connections}",
|
|
"tooltip-format": "{device_enumerate}",
|
|
"tooltip-format-enumerate-connected": "{device_alias} {device_address}"
|
|
},
|
|
"network": {
|
|
"format": " {ifname}",
|
|
"format-ethernet": " {ipaddr}/{cidr}",
|
|
"tooltip": false,
|
|
}
|
|
} |