1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

bin structure and vifm preview

This commit is contained in:
TiynGER
2020-03-31 20:32:16 +02:00
parent 8b44f92d83
commit 8c0490c981
27 changed files with 316 additions and 59 deletions

21
.local/bin/tools/dwm/lmc Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/sh
# A general audio interface for LARBS.
[ -z "$2" ] && num="2" || num="$2"
case "$1" in
u*) pulsemixer --change-volume +"$num" ;;
d*) pulsemixer --change-volume -"$num" ;;
m*) pulsemixer --toggle-mute ;;
*) cat << EOF
lmc: cli music interface for pulse for those with divine intellect too
grand to remember the pamixer commands.
Allowed options:
up NUM Increase volume (2 secs default)
down NUM Decrease volume (2 secs default)
mute Toggle mute
all else Print this message
EOF
esac