emacs: use conf-mode .*rc files, but use sh-mode for .bashrc
[~bandali/configs] / .local / bin / volume-info
CommitLineData
a92a01fe
AB
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