summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-31 01:57:17 -0600
committerCraig Jennings <c@cjennings.net>2026-01-31 01:57:17 -0600
commit657d49d1589c8729d249e624ebc825ab5c161097 (patch)
tree238f6ab8f47aa2d82da4119ed284286e143b17ad /dotfiles/hyprland
parent89a00a3300c418ca2cda626c65d655bb7a4fbd35 (diff)
fix(waybar): switch to pulseaudio module and unify colors
- Replace wireplumber module with pulseaudio for reliable volume display - Make all module text colors consistent (#969385) - Add idle_inhibitor to styled modules - Add wf-recorder package to archsetup for screen recording
Diffstat (limited to 'dotfiles/hyprland')
-rw-r--r--dotfiles/hyprland/.config/waybar/config13
-rw-r--r--dotfiles/hyprland/.config/waybar/style.css12
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;