diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-02-21 00:22:44 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2026-02-21 00:22:44 -0500 |
| commit | f0d579a03af9e3ba4a7cf64da96c23f485faac7a (patch) | |
| tree | 9ffdf9ea7ce27705dfb9a2c89eb01727c34866de /config | |
| parent | 97110b108e807d46367244aec89a0545ba67c46f (diff) | |
added script to mute active window from Ivy and s1lang
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: CHANGELOG.md
modified: config/hypr/configs/Keybinds.conf
renamed: config/hypr/scripts/SinkIntToggle.sh -> config/hypr/scripts/Toggle-Active-Window-Audio.sh
Diffstat (limited to 'config')
| -rw-r--r-- | config/hypr/configs/Keybinds.conf | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/Toggle-Active-Window-Audio.sh (renamed from config/hypr/scripts/SinkIntToggle.sh) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 84a744bd..ba0201f1 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -37,7 +37,7 @@ bindd = $mainMod CTRL, R, rofi theme selector, exec, $scriptsDir/RofiThemeSelect bindd = $mainMod CTRL SHIFT, R, rofi theme selector (modified), exec, pkill rofi || true && $scriptsDir/RofiThemeSelector-modified.sh bindd = $mainMod CTRL, K, Kitty theme selector, exec, $scriptsDir/Kitty_themes.sh bindd = $mainMod SHIFT, B, Set static Rainbow Border, exec, $UserScripts/RainbowBorders-low-cpu.sh --run-once -bindd = $mainMod SHIFT, H, Toggle Mute/Unmute for Active-Window, exec, $scriptsDir/SinkIntToggle.sh +bindd = $mainMod SHIFT, H, Toggle Mute/Unmute for Active-Window, exec, $scriptsDir/Toggle-Active-Window-Audio.sh bindd = ALT SHIFT, S, Hyprshot Screen Capture, exec, $scriptsDir/hyprshot.sh -m region -o %HOME/Pictures/Screenshots bindd = $mainMod SHIFT, F, fullscreen, fullscreen diff --git a/config/hypr/scripts/SinkIntToggle.sh b/config/hypr/scripts/Toggle-Active-Window-Audio.sh index 12312a47..44370d10 100755 --- a/config/hypr/scripts/SinkIntToggle.sh +++ b/config/hypr/scripts/Toggle-Active-Window-Audio.sh @@ -40,7 +40,7 @@ mapfile -t sink_ids < <(jq -r --arg pid "${__pid}" --arg class "${__class}" --ar or (lc(.properties["application.process.binary"]) | contains(lc($class))) or - ((normalize(lc(.properties["media.name"])) | test(normalize(lc($title))))) + (normalize(lc(.properties["media.name"])) | contains(normalize(lc($title)))) ) | .index' <<< "${sink_json}" ) |
