dotfiles/system/.local/bin/increase_volume.sh
Severin Kaderli 8d3f9c8a1d
More config cleanup
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
2019-02-13 00:47:10 +01:00

18 lines
398 B
Bash
Executable file

#!/bin/bash
#
# SCRIPT NAME:
# increase_volume.sh
#
# 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.sh
if [[ $(pamixer --get-volume) -lt 150 ]]; then
pamixer -i 5 --allow-boost
fi