#!/usr/bin/env bash # # SCRIPT NAME: # increase_volume # # AUTHOR: # Severin Kaderli # # 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