[colors]
fg-blue = #eee
focus-dark = #1b2124
blue = #73d0ff
blue-darker = #000000
archlogo = #cd241d
green = #bae67e
dark-green = #75c933
red = #ff3333
bg = #800A0E14
fg = #bfbab0
cyan = #95e6cb
alpha = #00000000
white = #fff
yellow = #FFFF00
lime = #00FF00
fuchsia = #FF00FF
double_white= #D5C4A1
dunst = #EC6238
golden_glow = #FFDE7D
check_update = #bdae93
#dunst = #808080

[gruvbox]
black = #000000
dark = #1d1d1d
disabled = #262626
red = #ea6962
red-alt = #b22222
orange = #fe8019
orange-mat = #e78a4e
yellow = #fabd2f
yellow-mat = #d8a657
green = #b8bb28
green-alt = #98971a
aqua = #8ec07c
aqua-lm = #427b58
purple = #d3869b
purle-alt = #b162b6
purple-lm = #8f3f71
aqua-alt = #689d6a
blue = #458588
blue-alt = #83a598
blue-lm = #076678
grey = #313131
orange-dark = #af3a03
dark-grey = #222222
cream = #ebdbb2
white = #FFFFFF
transparent = #00000000
Stransparent = #CC000000



[bar/top]
monitor = DisplayPort-0
;monitor = HDMI-0

override-redirect = false
locale = ru_RU.utf8

; Put the bar at the bottom of the screen
bottom = false

; Prefer fixed center position for the `modules-center` block
fixed-center = true

width = 100%
height = 30

;offset-x = 
;offset-y =  

; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
background = ${colors.bg}

; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
foreground = ${colors.fg}

line-size = 0
line-color = #fff

; Number of spaces to add at the beginning/end of the bar
; Individual side values can be defined using:
;   padding-{left,right}
padding-right = 0 
padding-left = 0

; Number of spaces to add before/after each module
; Individual side values can be defined using:
;   module-margin-{left,right}
module-margin = 0

font-0 = "Iosevka Term:pixelsize=13;4"
font-1 = "Ubuntu Mono:style=Medium:pixelsize=7;1"
;;font-2 = "Noto Color Emoji:scale=5.5;3"
;;font-2 = "Noto Color Emoji:pixelsize=16:style=Regular"
;;font-2 = "Weather Icons:size=12;1"
;;;;;;font-1 = "Ubuntu:style=Medium:pixelsize=6;1"
;font-2 = "JetBrainsMono Nerd Font:size=10;0"
;font-3 = "FontAwesome 5 Free:size=10:style=Solid;3"

; Стандартный шрифт
;font-1 = "Iosevka Term:pixelsize=6;1"

; Define modules fot the bar
; All modules need not be added here
modules-left = sps66 powermenu sps6 bspwm sps0 obsidian hedgedoc vert sps00 title mode
modules-center = 
modules-right = sps11 netspeed sps sps_note1 nvim_notes sps_note0 sps12 checkupdates sps1 sps22 xkeyboard sps2 sps33 pulseaudio sps3 sps44 cpu sps4 sps55 cputemp sps5 sps66 memory sps6 sps77 date sps7 sps88 dunst sps8 sps_stop_src1 stop_screensaver sps_stop_src0 sps99 wireguard sps9
; Following modules are not enabled by default in Endeavour OS Bspwm Edition
;
; 1. mpd - Shows current playing track info.
;          Need to set host and port in module definition.
;
; 2. mpd_control - Shows previous, play/pause, next button to
;                  control music playback via mpd.
;                  Need to set host and port in module definition.
;
; 3. netspeed - Displays real time network speed
;               Need to set correct interface name in module definition.

; The separator will be inserted between the output of each module
separator =

; This value is used to add extra spacing between elements
; @deprecated: This parameter will be removed in an upcoming version
spacing = 0

; Opacity value between 0.0 and 1.0 used on fade in/out
dim-value = 1.0

;wm-name = i3

; Position of the system tray window
; If empty or undefined, tray support will be disabled
; NOTE: A center aligned tray will cover center aligned modules
;
; Available positions:
;   left
;   center
;   right
;   none
;tray-position = right
;;;;;;;;;;tray-position = none

; If true, the bar will not shift its
; contents when the tray changes
;;;;;;;;;;tray-detached = false

; Tray icon max size
;;;;;;;;;;tray-maxsize = 16

;;;;;;;;;;tray-background = ${colors.bg}
;offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)

;;;;;;;;;;tray-offset-x = 0
;;;;;;;;;;tray-offset-y = 0

; Pad the sides of each tray icon
;;;;;;;;;;tray-padding = 2

; Scale factor for tray clients
;;;;;;;;;;tray-scale = 1

wm-restack = bspwm

;dpi-x = 133
;dpi-y = 133
dpi-x = 180
dpi-y = 180

enable-ipc = true

;border-left-size = 1%
;border-right-size = 1%
;border-top-size = 1%
;border-bottom-size = 25
border-color = ${colors.alpha}

[module/tray]
type = internal/tray

tray-position = modules-right
tray-maxsize = 16
tray-padding = 0px
tray-spacing = 8px
format-margin = 8px

[module/bspwm]
type = internal/bspwm
pin-workspaces = true
inline-mode = false
enable-click = true
enable-scroll = true
reverse-scroll = false
fuzzy-match = true

ws-icon-0 = "I;%{T1}  %{T-}"
;ws-icon-1 = "II;%{T1}  %{T-}"
ws-icon-1 = "II;%{T1}  %{T-}"
ws-icon-2 = "III;%{T1}  %{T-}"
ws-icon-3 = "IV;%{T1}  %{T-}"
ws-icon-4 = "V;%{T1}  %{T-}"
ws-icon-5 = "VI;%{T1} 說 %{T-}"
ws-icon-6 = "VII;%{T1} ﰭ %{T-}"
;ws-icon-7 = "VIII;%{T1} 磊 %{T-}"
ws-icon-7 = "VIII;%{T1} 輸 %{T-}"
ws-icon-8 = "IX;%{T1} 藍 %{T-}"
ws-icon-9 = "X;%{T1}  %{T-}"
ws-icon-default = %{T1}  %{T-}

format = <label-state> <label-mode>

label-monitor = %name%

;label-dimmed-foreground = #555
;label-dimmed-underline = ${bar/top.background}
;label-dimmed-focused-background = #f00

label-mode = %mode%
label-mode-padding = 1
label-mode-background = ${gruvbox.red-alt} 
label-mode-foreground = ${gruvbox.white}

label-focused = %icon%
label-focused-foreground = ${gruvbox.yellow}
label-focused-background = ${gruvbox.disabled}
;label-focused-underline = #fba922
;
label-unfocused = %icon%
label-unfocused-font = 5
label-unfocused-foreground = ${gruvbox.cream}
label-unfocused-background= ${gruvbox.black}

label-urgent = %icon%
label-urgent-font = 5
label-urgent-foreground = ${gruvbox.red}
;label-urgent-background= ${gruvbox.grey}

label-occupied = %icon%
label-occupied-padding = 0
label-occupied-foreground = ${gruvbox.blue}

label-empty = %icon%
label-empty-foreground = #55
label-empty-padding = 0

label-separator =
label-separator-padding = 0
label-separator-foreground = ${gruvbox.transparent}


[module/mode]
type = internal/bspwm

format = <label-mode>
format-background = ${colors.bg}
format-foreground = ${colors.red}
;format-padding = 1

;label-monocle = "Monocle"
;label-tiled = "%{T-}%{T2}[Tiled]%{T-}"

;label-floating = ", Float"
;label-pseudotiled = ", Pseudo"
;label-fullscreen = ", Full"

label-locked = "%{T2}%{T-}"
label-sticky = "%{T2}%{T-}"
label-private = "%{T2}PR%{T-}"


[module/xkeyboard]
type = internal/xkeyboard

; Available tags:
;   <label-layout> (default)
;   <label-indicator> (default)
format = <label-layout> <label-indicator>
format-spacing = 0

; Available tokens:
;   %layout%
;   %name%
;   %number%
;   %icon%
;   %variant% (New in version 3.6.0)
; Default: %layout%
label-layout = %icon%
label-layout-padding = 1
;label-layout-background = #bc99ed
label-layout-foreground = ${gruvbox.cream}
label-layout-background = ${gruvbox.aqua-lm}

; Available tokens:
;   %name%
; Default: %name%
; @deprecated, use label-indicator-on
;;;label-indicator = %name%

; layout-icon-[0-9]+ = layout;icon
; layout-icon-[0-9]+ = layout;variant;icon (New in version 3.6.0)
; Assign each layout an icon that will be available as %icon% token for the
; <label-layout> tag.
; In the first configuration form, the `layout` will try to match %layout%
; value ignoring the variant
; In the second configuration form, 
;     the `layout` will try to match %layout% value and the `variant` matches %variant%.
;     the `variant` can be empty (layout;;icon) to match against a %layout%
;                   with an empty %variant%
;     the `variant` can be the wildcard '_' to match a %layout% and any variant. 
;         This is equivalent to the first configuration form
;     the `layout` cannot be empty (;variant;icon)
;     the `layout` can be the wildcard '_' to match any %layout% with a
;                  specific %variant%
;     Do not use the wildcard '_' for both `layout` and `variant`
;layout-icon-default = 
;layout-icon-0 = ru;
;layout-icon-1 = us;

;layout-icon-default =  
layout-icon-0 = ru;%{T-}%{T2} RU%{T-}
layout-icon-1 = us;%{T-}%{T2} EN%{T-}

; indicator-icon-[0-9]+ = indicator;off icon;on icon
; Provides the content of the %icon% token in label-indicator-*
;;;indicator-icon-default = 
;;;indicator-icon-0 = caps lock;-CL;+CL
;;;indicator-icon-1 = scroll lock;;+SL
;;;indicator-icon-2 = num lock;-NL;+NL

; Replaces label-indicator
; Available tokens:
;   %name%
;   %icon%
; Default: %name%
;;;;label-indicator-on = +%name%
; Available tokens:
;   %name%
;   %icon%
; Default: (none)
;;;;label-indicator-off = -%name%

; Replaces label-indicator-* if for specific indicators
; Available tokens:
;   %name%
;   %icon%
label-indicator-on-capslock = 
label-indicator-off-capslock = 
label-indicator-on-numlock = 
label-indicator-off-numlock = 
label-indicator-on-scrolllock = 
label-indicator-off-scrolllock = 


[module/date]
type = internal/date

; Seconds to sleep between updates
interval = 1.0

; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...}
date = %{T1} %{T-}%{T2} %a %d %b%{T-}
; Optional time format
time = %{T2} %H:%M:%S %{T-}

; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats
;date-alt = %{T1}%{T-}%{T2} %d-%m-%Y /%{T-}
;time-alt = %{T2} %H:%M:%S%{T-}
;click-left = kitty -e calcurse
;click-left = ~/.config/polybar/scripts/calendar.sh

label = %date%%time%
label-font = 0
label-foreground = ${gruvbox.dark}
label-background = ${gruvbox.cream}
label-padding = 0

[module/cpu]
type = internal/cpu

; Seconds to sleep between updates
; Default: 1
interval = 0.5

label = %{T1} %{T-}%{T2} %percentage:2%%  %{T-}

label-foreground = ${gruvbox.cream}
label-background = ${gruvbox.blue-lm}


[module/memory]
type = internal/memory

; Seconds to sleep between updates
; Default: 1
interval = 0.5
format = <label>

; Available tokens:
;   %percentage_used% (default)
;   %percentage_free%
;   %gb_used%
;   %gb_free%
;   %gb_total%
;   %mb_used%
;   %mb_free%
;   %mb_total%
;   %percentage_swap_used%
;   %percentage_swap_free%
;   %mb_swap_total%
;   %mb_swap_free%
;   %mb_swap_used%
;   %gb_swap_total%
;   %gb_swap_free%
;   %gb_swap_used%

label = %{T1} %{T-}%{T2} %gb_used%  %{T-}
;label = %{T1}%{T-}%{T2} %percentage_used%%%{T-}

label-foreground = ${gruvbox.cream}
label-background = ${gruvbox.red-alt}
label-padding = 0

;An empty module used to add 1 unit spacings whenever needed
[module/sps]
type = custom/text
format = ""
format-foreground = ${gruvbox.blue-alt}
format-padding = 0

[module/sps0]
type = custom/text
format = ""
format-foreground = ${gruvbox.grey}
format-padding = 0

[module/sps00]
type = custom/text
format = ""
format-foreground = ${gruvbox.grey}
format-padding = 0

[module/sps11]
type = custom/text
format = ""
format-foreground = ${gruvbox.blue-alt}
format-padding = 0


[module/sps1]
type = custom/text
format = ""
format-foreground = ${gruvbox.yellow-mat}
format-padding = 0

[module/sps12]
type = custom/text
format = ""
format-foreground = ${gruvbox.yellow-mat}
format-padding = 0

[module/sps2]
type = custom/text
format = ""
format-foreground = ${gruvbox.aqua-lm}
format-padding = 0

[module/sps22]
type = custom/text
format = ""
format-foreground = ${gruvbox.aqua-lm}
format-padding = 0

[module/sps3]
type = custom/text
format = ""
format-foreground = ${gruvbox.green}
format-padding = 0

[module/sps33]
type = custom/text
format = ""
format-foreground = ${gruvbox.green}
format-padding = 0

[module/sps4]
type = custom/text
format = ""
format-foreground = ${gruvbox.blue-lm}
format-padding = 0

[module/sps44]
type = custom/text
format = ""
format-foreground = ${gruvbox.blue-lm}
format-padding = 0

[module/sps5]
type = custom/text
format = ""
format-foreground = ${gruvbox.yellow}
format-padding = 0

[module/sps55]
type = custom/text
format = ""
format-foreground = ${gruvbox.yellow}
format-padding = 0

[module/sps6]
type = custom/text
format = ""
format-foreground = ${gruvbox.red-alt}
format-padding = 0

[module/sps66]
type = custom/text
format = ""
format-foreground = ${gruvbox.red-alt}
format-padding = 0

[module/sps7]
type = custom/text
format = ""
format-foreground = ${gruvbox.cream}
format-padding = 0

[module/sps77]
type = custom/text
format = ""
format-foreground = ${gruvbox.cream}
format-padding = 0

[module/sps8]
type = custom/text
format = ""
format-foreground = ${gruvbox.orange}
format-padding = 0

[module/sps88]
type = custom/text
format = ""
format-foreground = ${gruvbox.orange}
format-padding = 0

[module/sps9]
type = custom/text
format = ""
format-foreground = ${gruvbox.purple-lm}
format-padding = 0

[module/sps99]
type = custom/text
format = ""
format-foreground = ${gruvbox.purple-lm}
format-padding = 0


[module/sps_note0]
type = custom/text
format = ""
format-foreground = ${gruvbox.orange-dark}
format-padding = 0

[module/sps_note1]
type = custom/text
format = ""
format-foreground = ${gruvbox.orange-dark}
format-padding = 0




[module/sps222222]
type = custom/text
format = ""
;label = "%{T1} %{T-}%{T2} %downspeed%   %upspeed% %{T-}"
format-padding = 0
label-padding = 0
format-foreground = ${gruvbox.blue-alt}
format-background = ${gruvbox.dark}


[module/netspeed]
type = internal/network

; Set correct interface name for the module to work
; Try eth0 for ethernet or wlan0 for wireless
;
; You can also run ifconfig in a terminal
; to know the interace names on your system.
;interface = wlan0
interface = enp5s0
interval = 1.0
label-connected = "%{T1} %{T-}%{T2} %downspeed%   %upspeed%  %{T-}"
;label-disconnected = "%{T2}0/0%{T-}"
label-disconnected = "%{T2}ﮊ НЕТ СЕТИ%{T-}"
label-connected-background = ${gruvbox.blue-alt}
label-connected-foreground = ${gruvbox.dark}
label-disconnected-foreground = ${colors.red}


[module/title]
type = internal/xwindow
; Available tags:
;   <label> (default)
format = <label>
;format-background = ${gruvbox.black}
format-foreground = ${gruvbox.green}
format-padding = 1

; Available tokens:
;   %title%
; Default: %title%
label = "%{T1}%{T-}%{T2} %title%%{T-}"
label-maxlen = 100

; Used instead of label when there is no window title
; Available tokens:
;   None
label-empty =%{T2}DESKTOP%{T-}
label-empty-foreground = ${gruvbox.blue-alt}


[module/pulseaudio]
type = internal/pulseaudio

; Sink to be used, if it exists (find using `pacmd list-sinks`, name field)
; If not, uses default sink
; sink = alsa_output.pci-0000_12_00.3.analog-stereo
; sink = alsa_output.pci-0000_00_1b.0.analog-stereo
;sink = bluez_output.64_68_76_EE_EF_98.1
;sink = bluez_output.40_72_18_78_11_A8.1

use-ui-max = false
interval = 5
format-volume = <label-volume>

format-muted = <label-muted>

label-volume = %{T1} 墳%{T-} %{T2}%percentage%%  %{T-}
label-volume-foreground = ${gruvbox.dark}
label-volume-background = ${gruvbox.green}

label-muted = %{T1} 婢%{T-} %{T2}ВЫКЛ! %{T-}
label-muted-foreground = ${gruvbox.dark}
label-muted-background = ${gruvbox.green}

ramp-volume-0 = %{T1}%{T-}
ramp-volume-1 = %{T1}奔%{T-}
ramp-volume-2 = %{T1}墳%{T-}

click-right = pavucontrol &
;click-right = pavucontrol-qt &
; click-middle =


[settings]
pseudo-transparency = true


[module/powermenu]
type = custom/text
format = ""
click-left = ~/.config/rofi/powermenu.sh
format-background = ${gruvbox.red-alt}
format-foreground = ${gruvbox.cream}
format-padding = 1
margin-right = 0


[module/obsidian]
type = custom/text
format = ""
;click-left = kitty -e nvim /home/$USER/.config/changelog
click-left = /opt/obsidian/Obsidian
;click-right = xed /home/zloy_linux/Seafile/notes.txt
;click-right = marktext ~/Seafile/notes.txt
click-right = ~/.config/bspwm/scripts/nvim_notes.sh
format-background = ${gruvbox.grey}
format-foreground = ${gruvbox.orange}
format-padding = 1
margin-right = 0

[module/hedgedoc]
type = custom/text
format = ""
;click-left = kitty -e nvim /home/$USER/.config/changelog
click-left = vivaldi https://edit.zlinux.ru/
;click-right = kitty -e pahis
format-background = ${gruvbox.grey}
format-foreground = ${gruvbox.aqua}
format-padding = 1
margin-right = 0

[module/vert]
type = custom/text
format = ""
;click-left = kitty -e nvim /home/$USER/.config/changelog
click-left = vivaldi https://vert.zlinux.ru/
;click-right = kitty -e pahis
format-background = ${gruvbox.grey}
format-foreground = ${gruvbox.purle-alt}
format-padding = 1
margin-right = 0


[module/nvim_notes]
type = custom/script
exec = ~/.config/polybar/scripts/nvim_notes_status.sh
click-left = ~/.config/bspwm/scripts/nvim_notes.sh
format-foreground = ${gruvbox.cream}
format-background = ${gruvbox.orange-dark}
interval = 1


[module/temperature]
type = internal/temperature
;click-left = /usr/bin/psensor &
; Seconds to sleep between updates
; Default: 1
interval = 0.5

; Thermal zone to use
; To list all the zone types, run 
; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
; Default: 0
thermal-zone = 0

; Full path of temperature sysfs path
; Use `sensors` to find preferred temperature source, then run
; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
; to find path to desired file
; Default reverts to thermal zone setting
;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
;;;hwmon-path = /sys/class/thermal/thermal_zone1/temp
hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
;hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon3/temp1_input

; Threshold temperature to display warning label (in degrees celsius)
; Default: 80
warn-temperature = 65

; Whether or not to show units next to the temperature tokens (°C, °F)
; Default: true
units = true

; Available tags:
;   <label> (default)
;   <ramp>
format = <ramp> <label>
format-foreground = ${gruvbox.yellow}
format-padding = 0

; Available tags:
;   <label-warn> (default)
;   <ramp>
format-warn = <ramp> <label-warn>
format-warn-foreground = ${gruvbox.red}
format-warn-padding = 0

; Available tokens:
;   %temperature% (deprecated)
;   %temperature-c%   (default, temperature in °C)
;   %temperature-f%   (temperature in °F)
label = %{T2}%temperature-c%%{T-}

; Available tokens:
;   %temperature% (deprecated)
;   %temperature-c%   (default, temperature in °C)
;   %temperature-f%   (temperature in °F)
label-warn = %{T2}%temperature-c%%{T-}
label-warn-foreground = ${gruvbox.red-alt}

; Requires the <ramp> tag
; The icon selection will range from 0 to `warn-temperature`
; with the current temperature as index.
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-3 = 
ramp-4 = 

[module/cputemp]
type = custom/script
label = %{F#1d1d1d}%{T1}%{T2}%output%%{T-}%{T-} 
exec = sensors | awk '/^Tctl:/ {print $2}' 
interval = 3
format-prefix = " "
format-prefix-foreground = ${gruvbox.dark}
format-prefix-background = ${gruvbox.yellow}
format-underline = ${gruvbox.yellow}
format-padding = 1
format-foreground = ${gruvbox.dark}
format-background = ${gruvbox.yellow}


[module/checkupdates]
type = custom/script
interval = 300
;;;;exec = ~/.config/polybar/scripts/checkupdates.sh
exec = ~/.config/polybar/scripts/updates.sh
click-left = kitty -e yay -Syu --editmenu
click-right = kitty -e pahis
;label-empty = 0
format-foreground = ${gruvbox.dark}
format-background = ${gruvbox.yellow-mat}
format-padding = 1

[module/internet]
type = custom/script
interval = 1
exec = /home/zloy_linux/.config/polybar/scripts/internet.sh
format = %{T1}直%{T-}%{T2}<label>%{T-}
content-padding = 0
margin-right = 0
format-foreground = ${colors.white}


[module/dunst]
type = custom/ipc
initial = 1
format-foreground = ${gruvbox.dark}
format-background = ${gruvbox.orange}
hook-0 = echo "%{A1:dunstctl set-paused true && polybar-msg hook dunst 2:}  %{A}" &
hook-1 = echo "%{A1:dunstctl set-paused false && polybar-msg hook dunst 1:}  %{A}" &
click-right = dunstctl history-pop

[module/vpn-openvpn-isrunning]
type = custom/script
exec = ~/.config/polybar/scripts/vpn-openvpn-isrunning.sh
interval = 5
;format-foreground = ${colors.golden_glow}
click-left = ~/.config/polybar/scripts/vpn-on-off.sh

[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/weather.sh
click-left = kitty -e ~/.config/polybar/scripts/weather_full.sh
;format-prefix = %{T2} %{T-}
;label = %{T2}%output%%{T-}
label = %{F#ff8700}%{T1} %{T2}  %output% %{T-} %{T-} 
interval = 600
label-font = 3

[module/newsboat]
type = custom/script
interval = 30
exec = /usr/bin/newsboat -x print-unread | awk '{ print " " $1}'
label = %{F#ff8700}%{T1} %{T2} %output% %{T-} %{T-} 
click-left = /usr/bin/kitty -e newsboat &

[module/wireguard]
type = custom/script
exec = /home/$USER/.config/polybar/scripts/wireguard.sh
tail = false
interval = 1
click-left = /home/$USER/.config/polybar/scripts/wireguard.sh --toggle &
label-background = ${gruvbox.purple-lm}
label-foreground = ${gruvbox.cream}
label-padding = 1

[module/cava]
type = custom/script
tail = true
exec = $HOME/.config/polybar/scripts/cava.sh
format = <label>
label-foreground = #b8bb26
format-font = 1
label = %{T2}%output%%{T-}


[module/info-cava]
type = custom/script
exec =  ~/.config/polybar/scripts/cava -c average -f 60 -b 12

format = <label>
label = %output%
;format-foreground = ${color.BACKGROUND}
;format-background = #8B60E5
tail = true


[module/stop_screensaver]
type = custom/script
exec = ~/.config/polybar/scripts/stop_screensaver_status.sh
interval = 2
click-left = ~/.config/polybar/scripts/stop_screensaver_toggle.sh
label-background = ${gruvbox.green-alt}
label-foreground = ${gruvbox.black}

[module/sps_stop_src0]
type = custom/text
format = ""
format-foreground = ${gruvbox.green-alt}
format-padding = 0

[module/sps_stop_src1]
type = custom/text
format = ""
format-foreground = ${gruvbox.green-alt}
format-padding = 0

[module/bluetooth]
type = custom/script
exec = ~/.config/polybar/scripts/rofi-bluetooth.sh --status
interval = 1
click-left = ~/.config/polybar/scripts/rofi-bluetooth
format = <label>
label = %{T2}%output%%{T-}
format-foreground = ${colors.cyan}
