Reduce frequency to 0.5Hz

Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
akp 2022-07-13 18:16:41 +01:00
parent 497964002f
commit 5d2316498e
No known key found for this signature in database
GPG key ID: AA5726202C8879B7
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ func main() {
}
func run() error {
b := i3bar.New(os.Stdout, os.Stdin, time.Second*5, syscall.SIGUSR1)
b := i3bar.New(os.Stdout, os.Stdin, time.Second*2, syscall.SIGUSR1)
if err := b.Initialise(); err != nil {
return err
}

View file

@ -33,7 +33,7 @@ type AudioPlayer struct {
func NewAudioPlayer(maxLabelLength int) *AudioPlayer {
return &AudioPlayer{
MaxLabelLen: maxLabelLength,
TickerSteps: 10,
TickerSteps: 5,
name: "audioPlayer",
}
}