Moves binaries for use with gnu stow
This commit is contained in:
parent
f528ba793c
commit
4fd9f4809b
89 changed files with 0 additions and 0 deletions
14
bin/.bin/volume
Executable file
14
bin/.bin/volume
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# A simple script to adjust the volume
|
||||
# Requires pulse and amixer
|
||||
|
||||
case "$1" in
|
||||
"up")
|
||||
amixer -q -D default sset Master 5%+ unmute
|
||||
;;
|
||||
"down")
|
||||
amixer -q -D default sset Master 5%- unmute
|
||||
esac
|
||||
|
||||
command -v notify-send && notify-send "Volume" "$(amixer -D default sget Master | grep -o '\[.*\%' | tr -d '[')"
|
Loading…
Add table
Add a link
Reference in a new issue