cava module

This commit is contained in:
Simon
2021-01-14 14:39:40 +01:00
parent dbd7925ca3
commit c5cd41b3fd
3 changed files with 214 additions and 7 deletions
+14 -7
View File
@@ -27,7 +27,7 @@ unfocused = ${xrdb:foreground}
[bar/floating]
;modules-right = disk_short_pc checkupdates ovpn nvpn eth_pc
modules-left = sysinfo button_pavucontrol
modules-center = clock playerctl_long
modules-center = cava clock playerctl_long
modules-right = sensors_cpu_pc nvgpu memory
monitor = ${env:MONITOR:DP-4}
width = 60%
@@ -66,7 +66,7 @@ offset-x = 20%
offset-y = 54px
fixed-center = true
background = ${colors.background}
foreground = ${colors.foreground}
forFeground = ${colors.foreground}
line-size = 1
line-color = #000
separator =|
@@ -228,11 +228,11 @@ click-middle = "bash ~/Userdata/Scripts/Launchers/restart_pulseaudio_1s.sh"
[module/clock]
type = internal/date
interval = 1
date =
date-alt = %d.%m.%Y,
time = %H:%M
time-alt = %H:%M:%S
label = %date% %time%
date =
date-alt =%d.%m.%Y
time =" %H:%M"
time-alt =%H:%M:%S,
label =%time% %date%
[module/clock_icon]
inherit = "module/clock"
@@ -381,6 +381,13 @@ exec = ~/.config/polybar/scripts/polypopup.sh
click-left = ~/.config/polybar/scripts/polypopup.sh --toggle
content = 󰋼
[module/cava]
type = custom/script
tail = true
interval = 0.1
format = <label>
exec = bash ~/.config/polybar/scripts/modules/cava_read.sh
[module/playerctl]
type = custom/script
tail = true