add round-vol script
This commit is contained in:
parent
b1047070d3
commit
7a38b78a9d
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/fish
|
||||||
|
set cvol (pamixer --get-volume)
|
||||||
|
|
||||||
|
set nvol (math round\($cvol/5\)*5)
|
||||||
|
|
||||||
|
pamixer --set-volume $nvol
|
Reference in New Issue