From 68f98097986a1f7311cbcbe8379378e5ec442124 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 4 Feb 2026 09:24:49 -0800 Subject: [PATCH] hypr: fix volume scratchpad matching --- dotfiles/config/hypr/hyprland.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dotfiles/config/hypr/hyprland.conf b/dotfiles/config/hypr/hyprland.conf index bdc516c6..0fc94550 100644 --- a/dotfiles/config/hypr/hyprland.conf +++ b/dotfiles/config/hypr/hyprland.conf @@ -210,10 +210,10 @@ windowrulev2 = float, class:^(htop-scratch)$ windowrulev2 = size 90% 90%, class:^(htop-scratch)$ windowrulev2 = center, class:^(htop-scratch)$ -windowrulev2 = workspace special:volume silent, class:^(pavucontrol)$ -windowrulev2 = float, class:^(pavucontrol)$ -windowrulev2 = size 90% 90%, class:^(pavucontrol)$ -windowrulev2 = center, class:^(pavucontrol)$ +windowrulev2 = workspace special:volume silent, class:^(?i)(pavucontrol|pavucontrol-qt|org\.pulseaudio\.pavucontrol)$ +windowrulev2 = float, class:^(?i)(pavucontrol|pavucontrol-qt|org\.pulseaudio\.pavucontrol)$ +windowrulev2 = size 90% 90%, class:^(?i)(pavucontrol|pavucontrol-qt|org\.pulseaudio\.pavucontrol)$ +windowrulev2 = center, class:^(?i)(pavucontrol|pavucontrol-qt|org\.pulseaudio\.pavucontrol)$ windowrulev2 = workspace special:spotify silent, class:^(spotify)$ windowrulev2 = float, class:^(spotify)$ @@ -287,7 +287,7 @@ bind = $modAlt, M, exec, ~/.config/hypr/scripts/toggle-scratchpad.sh messages '^ bind = $modAlt, K, exec, ~/.config/hypr/scripts/toggle-scratchpad.sh slack '^Slack$' - slack bind = $modAlt, S, exec, ~/.config/hypr/scripts/toggle-scratchpad.sh spotify '^spotify$' - spotify bind = $modAlt, T, exec, ~/.config/hypr/scripts/toggle-scratchpad.sh transmission '^transmission-gtk$' - transmission-gtk -bind = $modAlt, V, exec, ~/.config/hypr/scripts/toggle-scratchpad.sh volume '^pavucontrol$' - pavucontrol +bind = $modAlt, V, exec, ~/.config/hypr/scripts/toggle-scratchpad.sh volume '^(pavucontrol|pavucontrol-qt|org\.pulseaudio\.pavucontrol)$' - pavucontrol # Move windows to scratchpads bind = $modAlt SHIFT, E, movetoworkspace, special:element