summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-04-23 18:07:00 +0000
committerstkhan <personal@slickd.xyz>2021-04-23 18:07:00 +0000
commitb9dae657725ab9f3ab44963f89d924c16810e2c1 (patch)
tree9053dfbdf56bb0e40664df6d6962a28c75d679d1 /bin
parent2274f2f3e700a9fcf7da8642a9145a5793f07646 (diff)
Added notifications to some scripts
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mute3
-rwxr-xr-xbin/vol_down3
-rwxr-xr-xbin/vol_up4
3 files changed, 7 insertions, 3 deletions
diff --git a/bin/mute b/bin/mute
index fbb0333..7941e5d 100755
--- a/bin/mute
+++ b/bin/mute
@@ -1,3 +1,4 @@
#!/bin/sh
-pactl set-sink-mute @DEFAULT_SINK@ toggle
+pactl set-sink-mute @DEFAULT_SINK@ toggle &
+dunstify "Toggled mute" &
diff --git a/bin/vol_down b/bin/vol_down
index 5c67be2..9a01c42 100755
--- a/bin/vol_down
+++ b/bin/vol_down
@@ -1,3 +1,4 @@
#!/bin/sh
-pactl set-sink-volume @DEFAULT_SINK@ -5%
+pactl set-sink-volume @DEFAULT_SINK@ -5% &
+dunstify "Turned the volume down 5%"
diff --git a/bin/vol_up b/bin/vol_up
index e75267c..5107cd5 100755
--- a/bin/vol_up
+++ b/bin/vol_up
@@ -1,3 +1,5 @@
#!/bin/sh
-pactl set-sink-volume @DEFAULT_SINK@ +5%
+pactl set-sink-volume @DEFAULT_SINK@ +5% &
+dunstify "Turned the volume up +5" &
+