mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-08-15 12:59:28 +02:00
cava module
This commit is contained in:
+14
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user