133 lines
3.8 KiB
INI
133 lines
3.8 KiB
INI
# **************************************************************************** #
|
|
# #
|
|
# ::: :::::::: #
|
|
# modules.ini :+: :+: :+: #
|
|
# +:+ +:+ +:+ #
|
|
# By: tomoron <tomoron@student.42.fr> +#+ +:+ +#+ #
|
|
# +#+#+#+#+#+ +#+ #
|
|
# Created: 2024/08/28 20:38:49 by tomoron #+# #+# #
|
|
# Updated: 2025/02/10 01:59:55 by tomoron ### ########.fr #
|
|
# #
|
|
# **************************************************************************** #
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
|
|
master-soundcard = default
|
|
speaker-soundcard = default
|
|
headphone-soundcard = default
|
|
|
|
master-mixer = Master
|
|
interval = 5
|
|
format-volume = "<ramp-volume> <label-volume>"
|
|
format-volume-padding = 1
|
|
format-muted = "<label-muted>"
|
|
format-muted-prefix = " "
|
|
format-muted-prefix-font = 2
|
|
format-muted-padding = 1
|
|
label-volume = %percentage%%
|
|
label-muted = " M"
|
|
label-muted-foreground = ${color.foreground}
|
|
ramp-volume-0 = ""
|
|
ramp-volume-1 = ""
|
|
ramp-volume-2 = " "
|
|
ramp-volume-font = 2
|
|
ramp-headphones-0 =
|
|
|
|
[module/battery]
|
|
type = internal/battery
|
|
|
|
; This is useful in case the battery never reports 100% charge
|
|
full-at = 100
|
|
|
|
; Use the following command to list batteries and adapters:
|
|
; $ ls -1 /sys/class/power_supply/
|
|
battery = BAT0
|
|
adapter = AC0
|
|
|
|
; If an inotify event haven't been reported in this many
|
|
; seconds, manually poll for new values.
|
|
;
|
|
; Needed as a fallback for systems that don't report events
|
|
; on sysfs/procfs.
|
|
;
|
|
; Disable polling by setting the interval to 0.
|
|
;
|
|
; Default: 5
|
|
poll-interval = 2
|
|
|
|
; see "man date" for details on how to format the time string
|
|
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
|
; Default: %H:%M:%S
|
|
time-format = %H:%M
|
|
|
|
; Available tags:
|
|
; <label-charging> (default)
|
|
; <bar-capacity>
|
|
; <ramp-capacity>
|
|
; <animation-charging>
|
|
format-charging = " <label-charging>"
|
|
format-charging-padding = 1
|
|
|
|
; Available tags:
|
|
; <label-discharging> (default)
|
|
; <bar-capacity>
|
|
; <ramp-capacity>
|
|
; <animation-discharging>
|
|
format-discharging = "<ramp-capacity> <label-discharging>"
|
|
format-discharging-padding = 1
|
|
|
|
; Available tags:
|
|
; <label-full> (default)
|
|
; <bar-capacity>
|
|
; <ramp-capacity>
|
|
format-full = <label-full>
|
|
format-full-prefix = " "
|
|
format-full-prefix-font = 2
|
|
format-full-padding = 2
|
|
|
|
; Available tokens:
|
|
; %percentage% (default)
|
|
; %time%
|
|
; %consumption% (shows current charge rate in watts)
|
|
label-charging = %percentage%% %time%
|
|
|
|
; Available tokens:
|
|
; %percentage% (default)
|
|
; %time%
|
|
; %consumption% (shows current discharge rate in watts)
|
|
label-discharging = %percentage%% %time%
|
|
|
|
; Available tokens:
|
|
; %percentage% (default)
|
|
label-full = " Full"
|
|
|
|
; Only applies if <ramp-capacity> is used
|
|
ramp-capacity-0 = " "
|
|
ramp-capacity-1 = " "
|
|
ramp-capacity-2 = " "
|
|
ramp-capacity-3 = " "
|
|
ramp-capacity-4 = " "
|
|
ramp-capacity-font = 2
|
|
|
|
; Only applies if <bar-capacity> is used
|
|
;bar-capacity-width = 10
|
|
|
|
; Only applies if <animation-charging> is used
|
|
animation-charging-0 = " "
|
|
animation-charging-1 = " "
|
|
animation-charging-2 = " "
|
|
animation-charging-3 = " "
|
|
animation-charging-4 = " "
|
|
animation-charging-font = 2
|
|
|
|
; Framerate in milliseconds
|
|
animation-charging-framerate = 750
|
|
|
|
; Only applies if <animation-discharging> is used
|
|
;;animation-discharging-0 = ${battery.anim0}
|
|
;;animation-discharging-1 = ${battery.anim1}
|
|
|
|
; Framerate in milliseconds
|
|
;animation-discharging-framerate = 500
|