* .emacs.d/init.el (b/*scratch*): Invert `mode-line' when `display-graphic-p'.
[~bandali/configs] / .local / bin / volume-info
CommitLineData
ca3a844a
AB
1#!/bin/sh
2cur_vol=$(pamixer --get-volume)
3
4if [ $(pamixer --get-mute) = true ]; then
5 printf 'mt \n' "$cur_vol"
6else
7 printf '%02d \n' "$cur_vol"
8fi