diff options
| -rw-r--r-- | CHANGELOG.md | 10 | ||||
| -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 |
3 files changed, 12 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 332c6f67..a5bae84f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## v2.3.21 +- Added script from `@ivy` and `@sl1ng` to Toggle audio on active Wundow + - `$HOME/.config/hypr/scripts/Toggle-Active-Window-Audio.sh` + - Keybind is `SUPER + SHIFT + H` (hush) +- Added check for ubunutu v26.04 in startup + - For as of yet unknown reason waybar won't startup without this + ``` + exec-once = /usr/libexec/xdg-desktop-portal-hyprland & + exec-once = /usr/libexec/xdg-desktop-portal & + exec-once = waybar + ``` - Updated `waybar-weather` - Created default files in `.config/waybar-weather` - You can manually override settings or providers 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}" ) |
