wry, many thing
This commit is contained in:
parent
6e62eccfba
commit
848ed62c5d
47 changed files with 1598 additions and 1201 deletions
|
|
@ -3,11 +3,30 @@
|
|||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
ui = config.rice.roles config.rice.palette.hex;
|
||||
imvConfig = pkgs.writeText "imv-config" ''
|
||||
[options]
|
||||
background=${ui.bg}
|
||||
overlay_font=${config.rice.fonts.sans.name}:${toString config.rice.fonts.sans.size}
|
||||
overlay_text_color=${ui.fg}
|
||||
overlay_background_color=${ui.surface}
|
||||
'';
|
||||
imvWrapped = pkgs.symlinkJoin {
|
||||
name = "imv";
|
||||
paths = [ pkgs.imv ];
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/imv \
|
||||
--set imv_config "${imvConfig}"
|
||||
'';
|
||||
};
|
||||
in
|
||||
with pkgs;
|
||||
(scope "apps" {
|
||||
videoPlayer = mpv;
|
||||
imageViewer = imv;
|
||||
musicPlayer = resonance;
|
||||
imageViewer = imvWrapped;
|
||||
musicPlayer = strawberry;
|
||||
streamPlayer = config.programs.pwas.airdrome.package;
|
||||
soulSeek = nicotine-plus;
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue