projects
/
~bandali
/
configs
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
sway: putting monitor to the left of my laptop
[~bandali/configs]
/
.local
/
bin
/
volume-info
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
#!/bin/sh
2
3
cur_vol=$(pamixer --get-volume)
4
5
if [ $(pamixer --get-mute) = true ]; then
6
printf 'mt \n' "$cur_vol"
7
else
8
printf '%02d \n' "$cur_vol"
9
fi