## Copyright (C) 2020-2021 Aditya Shakya ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ [module/alsa] type = internal/alsa ; Soundcard to be used ; Usually in the format hw:# where # is the card number ; You can find the different card numbers in `/proc/asound/cards` ;;master-soundcard = default ;;speaker-soundcard = default ;;headphone-soundcard = default ; Name of the master, speaker and headphone mixers ; Use the following command to list available mixer controls: ; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" ; If master, speaker or headphone-soundcard isn't the default, ; use `amixer -c # scontrols` instead where # is the number ; of the master, speaker or headphone soundcard respectively ; ; Default: Master ;;master-mixer = Master ; Optionally define speaker and headphone mixers ; Default: none ;;speaker-mixer = Speaker ; Default: none ;;headphone-mixer = Headphone ; NOTE: This is required if headphone_mixer is defined ; Use the following command to list available device controls ; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort ; You may also need to use `amixer -c # controls` as above for the mixer names ; Default: none ;;headphone-id = 9 ; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear ; Default: false ;;mapped = true ; Interval for volume increase/decrease (in percent points) ; Default: 5 ;;interval = 5 ; Available tags: ; (default) ; ; format-volume = format-volume-background = ${color.BGL} ; Available tags: ; (default) ; ; format-muted = format-muted-prefix =  format-muted-prefix-font = 2 format-muted-background = ${color.BGL} ; Available tokens: ; %percentage% (default) label-volume = %percentage%% ; Available tokens: ; %percentage% (default label-muted = " Mute" ; Only applies if is used ramp-volume-0 =  ramp-volume-1 =  ramp-volume-2 =  ramp-volume-3 =  ramp-volume-4 =  ramp-volume-5 =  ramp-volume-6 =  ramp-volume-7 =  ramp-volume-8 =  ramp-volume-9 =  ramp-volume-foreground = ${color.PURPLE} ramp-volume-font = 2 ; If defined, it will replace when ; headphones are plugged in to `headphone_control_numid` ; If undefined, will be used for both ; Only applies if is used ramp-headphones-0 =  ramp-headphones-1 =  ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ [module/bna] type = custom/text content = " NA" content-prefix =  content-prefix-font = 2 content-prefix-foreground = ${color.RED} content-padding = 1 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ [module/backlight] type = internal/xbacklight ; Use the following command to list available cards: ; $ ls -1 /sys/class/backlight/ card = intel_backlight ; Available tags: ;