mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
style: run statix
This commit is contained in:
parent
5b7fe1dae8
commit
ebabf4f335
7 changed files with 25 additions and 25 deletions
|
|
@ -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
|
||||
'');
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue