Moves binaries for use with gnu stow

This commit is contained in:
Jonathan Hodgson 2019-07-30 14:06:10 +01:00
parent f528ba793c
commit 4fd9f4809b
89 changed files with 0 additions and 0 deletions

14
bin/.bin/volume Executable file
View 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 '[')"