mirror of
https://github.com/ksyasuda/rice.git
synced 2025-12-06 20:53:36 -08:00
update polybar colors
This commit is contained in:
@@ -26,7 +26,7 @@ def get_volume() -> int:
|
||||
args = ['pulsemixer --get-volume']
|
||||
proc = execute_with_capture(args)
|
||||
output = proc.stdout
|
||||
volume = output.split(' ')[0]
|
||||
volume = int(output.split(' ')[0])
|
||||
return volume
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user