emacs: add reftex
[~bandali/configs] / .local / bin / volume-info
... / ...
CommitLineData
1#!/bin/sh
2
3cur_vol=$(pamixer --get-volume)
4
5if [ $(pamixer --get-mute) = true ]; then
6 printf 'mt \n' "$cur_vol"
7else
8 printf '%02d \n' "$cur_vol"
9fi