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