dotfiles/system/.local/bin/increase_volume
Severin Kaderli 410d0b33c6
Rename scripts
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
2019-03-06 16:53:16 +01:00

18 lines
400 B
Bash
Executable file

#!/usr/bin/env bash
#
# SCRIPT NAME:
# increase_volume
#
# AUTHOR:
# Severin Kaderli <severin.kaderli@gmail.com>
#
# DESCRIPTION:
# This script uses pamixer to increase the volume by 5% as long
# as the current volume is less than 150%. I call this script
# using custom i3 keybindings.
#
# USAGE:
# ./increase_volume
if [[ $(pamixer --get-volume) -lt 150 ]]; then
pamixer -i 5 --allow-boost
fi