mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-15 20:54:21 +02:00
polybar: add micro volume
This commit is contained in:
parent
8ec9f1a932
commit
067f2389ef
1 changed files with 13 additions and 4 deletions
|
@ -35,16 +35,16 @@ modules-center = date weather
|
|||
|
||||
[bar/alone]
|
||||
inherit = bar/common
|
||||
modules-right = battery cpu memory brightness bluetooth network disk dunst pulseaudio
|
||||
modules-right = battery cpu memory brightness bluetooth network disk dunst micro speaker
|
||||
|
||||
[bar/primary]
|
||||
inherit = bar/common
|
||||
modules-right = battery cpu memory brightness bluetooth network disk dunst pulseaudio
|
||||
modules-right = battery cpu memory brightness bluetooth network disk dunst micro speaker
|
||||
|
||||
[bar/secondary]
|
||||
inherit = bar/common
|
||||
modules-center = date
|
||||
modules-right = pulseaudio
|
||||
modules-right = micro speaker
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
|
@ -138,7 +138,7 @@ animation-low-3 =
|
|||
animation-low-3-foreground = ${colors.transparent}
|
||||
animation-low-framerate = 500
|
||||
|
||||
[module/pulseaudio]
|
||||
[module/speaker]
|
||||
type = internal/pulseaudio
|
||||
use-ui-max = false
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
|
@ -154,6 +154,15 @@ ramp-volume-5 =
|
|||
ramp-volume-6 =
|
||||
ramp-volume-7 =
|
||||
|
||||
[module/micro]
|
||||
type = internal/pulseaudio
|
||||
use-ui-max = false
|
||||
source = "@DEFAULT_SOURCE@"
|
||||
format-volume = <label-volume>
|
||||
format-muted = <label-muted>
|
||||
label-volume = %percentage: 2%%
|
||||
label-muted = %percentage: 2%%
|
||||
|
||||
# All IPC modules require 3.6+
|
||||
[module/network]
|
||||
type = custom/ipc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue