diff options
Diffstat (limited to 'dotfiles')
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/config | 13 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/style.css | 12 |
2 files changed, 10 insertions, 15 deletions
diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config index 676f040..7853326 100644 --- a/dotfiles/hyprland/.config/waybar/config +++ b/dotfiles/hyprland/.config/waybar/config @@ -15,7 +15,7 @@ "modules-right": [ "group/sysmonitor", "custom/netspeed", - "wireplumber", + "pulseaudio", "idle_inhibitor", "tray", "clock" @@ -118,13 +118,14 @@ } }, - "wireplumber": { - "format": "<span size='large'></span> {volume}%", + "pulseaudio": { + "format": "<span size='large'>{icon}</span> {volume}%", "format-muted": "<span size='large'></span> Muted", - "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", + "format-icons": {"default": ["", "", ""]}, + "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", "on-click-right": "toggle-scratchpad audio", - "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+", - "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" + "on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +5%", + "on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%" }, "idle_inhibitor": { diff --git a/dotfiles/hyprland/.config/waybar/style.css b/dotfiles/hyprland/.config/waybar/style.css index 18ba0f1..20d6a99 100644 --- a/dotfiles/hyprland/.config/waybar/style.css +++ b/dotfiles/hyprland/.config/waybar/style.css @@ -52,7 +52,8 @@ window#waybar { #custom-disk, #custom-netspeed, #battery, -#wireplumber, +#pulseaudio, +#idle_inhibitor, #tray, #clock, #custom-layout, @@ -75,20 +76,13 @@ window#waybar { #memory:hover, #custom-disk:hover, #custom-netspeed:hover, -#wireplumber:hover, +#pulseaudio:hover, #sysmonitor:hover, #custom-layout:hover { background-color: #474544; border-radius: 1rem; } -#clock { - color: #f0fef0; -} - -#wireplumber { - color: #969385; -} #custom-netspeed.disconnected { color: #d47c59; |
