diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-07-20 21:09:30 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-07-20 21:09:30 -0400 |
| commit | 846a9b844a82d44def5b34682a5596e4714c59d7 (patch) | |
| tree | c2b9f5caee1099e608c301212fe9fd1bbb5c783b /bin | |
| parent | e945a861b1ac2c18401881c0165ae6b232b45299 (diff) | |
| download | dotfiles-846a9b844a82d44def5b34682a5596e4714c59d7.tar.gz dotfiles-846a9b844a82d44def5b34682a5596e4714c59d7.tar.xz | |
Add simplified vol command
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/vol | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/bin/sh +sink=1 +step=5 +# Default down +mode=- +case $1 in + up) mode=+ +esac +pactl set-sink-volume "$sink" "$mode${step}%" |
