mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-08-15 12:59:28 +02:00
Finalized cava module integration
This commit is contained in:
+7
-11
@@ -25,9 +25,9 @@ unfocused = ${xrdb:foreground}
|
||||
; Bars
|
||||
|
||||
[bar/floating]
|
||||
;modules-right = disk_short_pc checkupdates ovpn nvpn eth_pc
|
||||
modules-left = sysinfo button_pavucontrol
|
||||
modules-center = cava clock playerctl_long
|
||||
modules-center = cava
|
||||
;modules-center = cava clock playerctl_long
|
||||
modules-right = sensors_cpu_pc nvgpu memory
|
||||
monitor = ${env:MONITOR:DP-4}
|
||||
width = 60%
|
||||
@@ -381,18 +381,9 @@ 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
|
||||
format-prefix = ""
|
||||
format = <label>
|
||||
exec = ~/.config/polybar/scripts/modules/playerctl.sh
|
||||
click-left = "playerctl play-pause"
|
||||
click-right = "playerctl next"
|
||||
@@ -402,6 +393,11 @@ click-middle = "playerctl previous"
|
||||
inherit="module/playerctl"
|
||||
exec = bash ~/.config/polybar/scripts/modules/playerctl.sh 30
|
||||
|
||||
[module/cava]
|
||||
type = custom/script
|
||||
tail = true
|
||||
exec = python /home/sim/.config/polybar/scripts/modules/cava.py
|
||||
|
||||
[module/playerctl-buttons]
|
||||
type = custom/menu
|
||||
expand-right = true
|
||||
|
||||
Reference in New Issue
Block a user