diff options
| author | Josh Rahm <rahm@google.com> | 2025-10-29 22:59:11 +0000 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2025-10-29 23:02:12 +0000 |
| commit | 448c796940ca138e2265fc63c3024c350166fe57 (patch) | |
| tree | 39dedf34c44272da6913cc8b31184ec4b3267b3d /src/Rahm | |
| parent | 1f28055a60975f76a9631dbe0c7deb9264ea2b52 (diff) | |
| download | rde-448c796940ca138e2265fc63c3024c350166fe57.tar.gz rde-448c796940ca138e2265fc63c3024c350166fe57.tar.bz2 rde-448c796940ca138e2265fc63c3024c350166fe57.zip | |
Change volume controls to change the volume of the selected app.
As opposed to always changing the volume of the default sink.
Diffstat (limited to 'src/Rahm')
| -rw-r--r-- | src/Rahm/Desktop/Keys.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Rahm/Desktop/Keys.hs b/src/Rahm/Desktop/Keys.hs index 26d564e..3734aaf 100644 --- a/src/Rahm/Desktop/Keys.hs +++ b/src/Rahm/Desktop/Keys.hs @@ -163,9 +163,9 @@ safeSpawnX = safeSpawn selectedWindowsColor = BorderColor "#00ffff" "#00ffff" -decreaseVolume = spawnX "pactl set-sink-volume @DEFAULT_SINK@ -5%" +decreaseVolume = spawnX "set-app-volume.sh --down" -increaseVolume = spawnX "pactl set-sink-volume @DEFAULT_SINK@ +5%" +increaseVolume = spawnX "set-app-volume.sh --up" playPause = spawnX "media-control play" |