projects
/
~bandali
/
configs
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
add rofi-pamixer convenience scripts for changing volume
[~bandali/configs]
/
.local
/
bin
/
rofi-pamixer
1
#!/bin/sh
2
cur
=
$
(
pamixer
--get-volume
)
3
val
=
$
(
rofi
-dmenu -mesg
"pamixer --get-volume
$cur
"
-p
"pamixer --set-volume "
-l
0
-width
12
)
4
[
-n
"
$val
"
] &&
pamixer
--set-volume
"
$val
"