add rofi-pamixer convenience scripts for changing volume
[~bandali/configs] / .local / bin / rofi-pamixer
CommitLineData
e064bdbf
AB
1#!/bin/sh
2cur=$(pamixer --get-volume)
3val=$(rofi -dmenu -mesg "pamixer --get-volume $cur" -p "pamixer --set-volume " -l 0 -width 12)
4[ -n "$val" ] && pamixer --set-volume "$val"