mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-16 05:04: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]
|
[bar/alone]
|
||||||
inherit = bar/common
|
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]
|
[bar/primary]
|
||||||
inherit = bar/common
|
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]
|
[bar/secondary]
|
||||||
inherit = bar/common
|
inherit = bar/common
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = pulseaudio
|
modules-right = micro speaker
|
||||||
|
|
||||||
[module/i3]
|
[module/i3]
|
||||||
type = internal/i3
|
type = internal/i3
|
||||||
|
@ -138,7 +138,7 @@ animation-low-3 =
|
||||||
animation-low-3-foreground = ${colors.transparent}
|
animation-low-3-foreground = ${colors.transparent}
|
||||||
animation-low-framerate = 500
|
animation-low-framerate = 500
|
||||||
|
|
||||||
[module/pulseaudio]
|
[module/speaker]
|
||||||
type = internal/pulseaudio
|
type = internal/pulseaudio
|
||||||
use-ui-max = false
|
use-ui-max = false
|
||||||
format-volume = <ramp-volume> <label-volume>
|
format-volume = <ramp-volume> <label-volume>
|
||||||
|
@ -154,6 +154,15 @@ ramp-volume-5 =
|
||||||
ramp-volume-6 =
|
ramp-volume-6 =
|
||||||
ramp-volume-7 =
|
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+
|
# All IPC modules require 3.6+
|
||||||
[module/network]
|
[module/network]
|
||||||
type = custom/ipc
|
type = custom/ipc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue