2022-05-11 23:11:54 +02:00
|
|
|
{ transparency ? 1, wallpaper, variant }: { pkgs, lib, ... }:
|
2022-05-10 18:00:16 +02:00
|
|
|
let
|
|
|
|
githubTheme = pkgs.myVimPlugins.githubNvimTheme; # github theme for neovim
|
|
|
|
foreign = pkgs.callPackage (import ./foreign.nix) { };
|
2022-05-11 20:29:47 +02:00
|
|
|
v = (a: b: if variant == "light" then a else b);
|
2022-05-10 18:00:16 +02:00
|
|
|
in
|
|
|
|
{
|
2022-05-11 23:11:54 +02:00
|
|
|
name = "catppuccin";
|
2022-05-10 19:04:51 +02:00
|
|
|
wallpaper = wallpaper.foreign or "${foreign.wallpapers}/${wallpaper}";
|
2022-05-10 18:00:16 +02:00
|
|
|
|
|
|
|
neovim = {
|
2022-05-15 20:56:19 +02:00
|
|
|
theme = ./nvim.lua;
|
2022-05-11 23:11:54 +02:00
|
|
|
lualineTheme = "catppuccin";
|
2022-05-10 18:00:16 +02:00
|
|
|
};
|
2022-05-11 23:11:54 +02:00
|
|
|
|
|
|
|
# grub.path = "${foreign.grub}/catppuccin-grub-theme/theme.txt";
|
2022-05-10 18:00:16 +02:00
|
|
|
tmux.path = "${foreign.tmux}/catppuccin.conf";
|
|
|
|
sddm.path = "${foreign.sddm}";
|
|
|
|
grub.path = pkgs.nixos-grub2-theme;
|
2022-05-11 23:11:54 +02:00
|
|
|
|
2022-05-10 18:00:16 +02:00
|
|
|
xresources = builtins.readFile "${foreign.xresources}/Xresources";
|
2022-05-11 23:11:54 +02:00
|
|
|
|
2022-05-10 18:00:16 +02:00
|
|
|
rofi = {
|
2022-05-11 23:11:54 +02:00
|
|
|
theme = builtins.readFile "${foreign.rofi}/.local/share/rofi/themes/catppuccin.rasi";
|
2022-05-11 19:08:21 +02:00
|
|
|
config = ''
|
|
|
|
@import "${foreign.rofi}/.config/rofi/config.rasi"
|
|
|
|
@import "${./rofi.rasi}"'';
|
2022-05-10 18:00:16 +02:00
|
|
|
};
|
2022-05-11 23:11:54 +02:00
|
|
|
|
2022-05-11 20:29:47 +02:00
|
|
|
chromium.extensions = [
|
|
|
|
# https://github.com/catppuccin/chrome
|
|
|
|
(v
|
|
|
|
"cmpdlhmnmjhihmcfnigoememnffkimlk"
|
|
|
|
"bkkmolkhemgaeaeggcmfbghljjjoofoh")
|
|
|
|
];
|
2022-05-11 23:11:54 +02:00
|
|
|
|
|
|
|
fish.dangerousColors = lib.strings.concatStringsSep " "
|
|
|
|
[
|
|
|
|
"F2CDCD"
|
|
|
|
"DDB6F2"
|
|
|
|
"F5C2E7"
|
|
|
|
"E8A2AF"
|
|
|
|
"F28FAD"
|
|
|
|
"F8BD96"
|
|
|
|
"FAE3B0"
|
|
|
|
"ABE9B3"
|
|
|
|
"B5E8E0"
|
|
|
|
"96CDFB"
|
|
|
|
"89DCEB"
|
|
|
|
];
|
|
|
|
|
2022-05-10 18:00:16 +02:00
|
|
|
alacritty.settings = {
|
|
|
|
import = [ "${foreign.alacritty}/catppuccin.yml" ];
|
|
|
|
window = {
|
|
|
|
padding = {
|
2022-05-16 23:03:35 +02:00
|
|
|
x = 4;
|
|
|
|
y = 4;
|
2022-05-10 18:00:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
gtk_theme_variant = "dark";
|
|
|
|
};
|
|
|
|
|
|
|
|
background_opacity = transparency;
|
|
|
|
};
|
|
|
|
}
|