Improve usability of rofi-light and rofi-pamixer wrappers
[~bandali/configs] / .local / bin / rofi-pamixer
CommitLineData
e064bdbf
AB
1#!/bin/sh
2cur=$(pamixer --get-volume)
7f1bcaab 3val=$(rofi -dmenu -mesg "volume: $cur" -p "" -l 0 -width 8)
e064bdbf 4[ -n "$val" ] && pamixer --set-volume "$val"