This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dotfiles
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Add volup and voldown scripts
master
Tovi Jaeschke-Rogers
4 years ago
parent
ba0fff16fb
commit
f8e02664c6
2 changed files
with
14 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
.local/bin/voldown
+7
-0
.local/bin/volup
+ 7
- 0
.local/bin/voldown
View File
@ -0,0 +1,7 @@
#!/bin/bash
pactl -- set-sink-volume 0 -5%
VOL=$(awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master))
notify-send -t 1000 "Volume: ${VOL}"
+ 7
- 0
.local/bin/volup
View File
@ -0,0 +1,7 @@
#!/bin/bash
pactl -- set-sink-volume 0 +5%
VOL=$(awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master))
notify-send -t 1000 "Volume: ${VOL}"
Write
Preview
Loading…
Cancel
Save