aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bin/notifyvolume
diff options
context:
space:
mode:
authorjason2017-04-20 16:36:34 -0600
committerjason2017-04-21 11:39:13 -0600
commitcfce7547cd36c8ab7f53fb620e0297e722761d8d (patch)
treeefedc1d027779445575e55af2805386702e50513 /scripts/bin/notifyvolume
parentf176cf30293cf2793f83026a3587752b69b128a9 (diff)
downloaddotfiles-cfce7547cd36c8ab7f53fb620e0297e722761d8d.tar.gz
dotfiles-cfce7547cd36c8ab7f53fb620e0297e722761d8d.zip
Update move in scripts, add bin scripts
Diffstat (limited to 'scripts/bin/notifyvolume')
-rwxr-xr-xscripts/bin/notifyvolume3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/bin/notifyvolume b/scripts/bin/notifyvolume
new file mode 100755
index 0000000..0da7337
--- /dev/null
+++ b/scripts/bin/notifyvolume
@@ -0,0 +1,3 @@
1#!/bin/bash
2
3exec /usr/bin/notify-send -t 1000 -i volume-knob "Volume $(amixer -q | grep -A5 Master | grep '%' | cut -d'[' -f2 | cut -d']' -f1)"