switch to base16 project-wide
This commit is contained in:
parent
b46e8dbb37
commit
fb18ff7455
28 changed files with 847 additions and 810 deletions
|
|
@ -3,14 +3,6 @@
|
|||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
mergedConfig = pkgs.runCommand "mergedConfig" { } ''
|
||||
mkdir -p $out
|
||||
${pkgs.gnused}/bin/sed 's/${pkgs.catppuccin.${config.catppuccin.flavor}.base}/#000000/g' \
|
||||
${pkgs.catppuccin-mpv-git}/themes/${config.catppuccin.flavor}/${config.catppuccin.accent}.conf \
|
||||
> $out/mpv.conf
|
||||
'';
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
(mpv.override {
|
||||
|
|
@ -21,9 +13,31 @@ in
|
|||
];
|
||||
})
|
||||
];
|
||||
home.file.".config/mpv" = {
|
||||
source = mergedConfig;
|
||||
recursive = true;
|
||||
home.file.".config/mpv/mpv.conf" = {
|
||||
text = with config.scheme; ''
|
||||
# Credit to https://github.com/catppuccin/mpv
|
||||
# Main mpv options
|
||||
background-color='#000000'
|
||||
osd-back-color='${config.scheme.withHashtag.base11}'
|
||||
osd-border-color='${config.scheme.withHashtag.base11}'
|
||||
osd-color='${config.scheme.withHashtag.base05}'
|
||||
osd-shadow-color='${config.scheme.withHashtag.base00}'
|
||||
|
||||
# Stats script options
|
||||
# Options are on separate lines for clarity
|
||||
# Colors are in #BBGGRR format
|
||||
script-opts-append=stats-border_color=${base08}
|
||||
script-opts-append=stats-font_color=${base06}
|
||||
script-opts-append=stats-plot_bg_border_color=${base16}
|
||||
script-opts-append=stats-plot_bg_color=${base08}
|
||||
script-opts-append=stats-plot_color=${base16}
|
||||
|
||||
# External script options
|
||||
# It is fine to leave these here even if one does not use these scripts because they are just ignored unless a script uses them
|
||||
|
||||
# UOSC options
|
||||
script-opts-append=uosc-color=foreground=${base09},foreground_text=${base01},background=${base00},background_text=${base05},curtain=${base10},success=${base0B},error=${base08}
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue