projects
/
~bandali
/
configs
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Drop rofi in favour of dmenu
[~bandali/configs]
/
.local
/
bin
/
volume-info
1
#!/bin/sh
2
cur_vol
=
$
(
pamixer
--get-volume
)
3
4
if
[
$
(
pamixer
--get-mute
) =
true
];
then
5
printf
'mt
\n
'
"
$cur_vol
"
6
else
7
printf
'%02d
\n
'
"
$cur_vol
"
8
fi