c'est le bordel un peu
This commit is contained in:
@@ -69,7 +69,7 @@ offset-y = 40
|
||||
background = ${color.background}
|
||||
modules-left = net-wireless
|
||||
modules-center = fs-system
|
||||
modules-right = volume
|
||||
modules-right = defaultaudio volume
|
||||
radius-top = 0
|
||||
|
||||
; =========================
|
||||
@@ -218,10 +218,16 @@ format-muted = <label-muted>
|
||||
label-muted = VOL mute
|
||||
label-muted-foreground = ${color.foreground-dim}
|
||||
|
||||
[module/defaultaudio]
|
||||
type = custom/script
|
||||
exec = wpctl inspect @DEFAULT_AUDIO_SINK@ 2>/dev/null | awk -F'"' '/^[[:space:]]*device\.api = "bluez5"/ { bt=1 } /^[[:space:]]*media\.name = "/ { name=$2 } END { print (bt && name) ? name : "local" }'
|
||||
interval = 3
|
||||
label = %output%
|
||||
|
||||
[module/tray]
|
||||
type = internal/tray
|
||||
format-margin = 2
|
||||
tray-spacing = 0
|
||||
tray-spacing = 2
|
||||
|
||||
[module/ping-amaury]
|
||||
type = custom/script
|
||||
|
||||
Reference in New Issue
Block a user