improve waybar config

This commit is contained in:
yourfriendoss 2023-12-01 20:19:06 +02:00
parent 5e891d86b6
commit f8a3ffbe59
2 changed files with 34 additions and 1 deletions

View file

@ -11,6 +11,8 @@
"hyprland/window"
],
"modules-right": [
"mpris",
"pulseaudio",
"battery",
"tray",
"clock"
@ -34,6 +36,32 @@
"format": "{:%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"mpris": {
"format": "{player_icon} {dynamic}",
"format-paused": "{status_icon} <i>{dynamic}</i>",
"player-icons": {
"default": "🎵"
},
"status-icons": {
"paused": "⏸"
},
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon} ",
"format-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"scroll-step": 1,
"on-click": "qpwgraph",
},
"battery": {
"interval": 60,
"states": {

View file

@ -28,8 +28,13 @@ window#waybar {
#taskbar button.active {
background-image: linear-gradient(0deg, @selection, @background-darker);
}
#battery {
#battery, #mpris, #pulseaudio, #tray {
padding: 0 10px;
background: @background;
}
#mpris {
font-size: 9pt;
}
#clock {
padding: 0 4px;