add change-theme script
[~bandali/configs] / .local / bin / rofi-pamixer
... / ...
CommitLineData
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"