style: run statix

This commit is contained in:
Primrose 2025-06-28 16:41:11 +02:00
parent 5b7fe1dae8
commit ebabf4f335
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
7 changed files with 25 additions and 25 deletions

View file

@ -45,22 +45,22 @@
'';
};
in
(builtins.readFile ./rc)
+ (lib.optionalString pkgs.stdenv.isLinux ''
builtins.readFile ./rc
+ lib.optionalString pkgs.stdenv.isLinux ''
set status_display_program=${lib.getExe callback-script}
'')
+ (lib.optionalString pkgs.stdenv.isDarwin ''
''
+ lib.optionalString pkgs.stdenv.isDarwin ''
set status_display_program=${lib.getExe pkgs.cmusfm}
'')
''
# This handles volume better
# Alsa backend has this behavior where system volume button will unsync two channels
+ (lib.optionalString pkgs.stdenv.isLinux ''
+ lib.optionalString pkgs.stdenv.isLinux ''
set output_plugin=pulse
'')
''
# When switching over bluetooth, toggle the output device to coreaudio
# and back to ao would fix the no sound issue.
+ (lib.optionalString pkgs.stdenv.isDarwin ''
+ lib.optionalString pkgs.stdenv.isDarwin ''
# distortion fix https://github.com/cmus/cmus/issues/1130#issuecomment-1003324193
set output_plugin=ao
'');
'';
}