aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2025-10-29 22:59:11 +0000
committerJosh Rahm <rahm@google.com>2025-10-29 23:02:12 +0000
commit448c796940ca138e2265fc63c3024c350166fe57 (patch)
tree39dedf34c44272da6913cc8b31184ec4b3267b3d /src
parent1f28055a60975f76a9631dbe0c7deb9264ea2b52 (diff)
downloadrde-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')
-rw-r--r--src/Rahm/Desktop/Keys.hs4
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"