2022-05-10 18:00:16 +02:00
|
|
|
{ transparency ? 1, wallpaper }: { pkgs, ... }:
|
|
|
|
let
|
|
|
|
githubTheme = pkgs.myVimPlugins.githubNvimTheme; # github theme for neovim
|
|
|
|
variant = "dark";
|
|
|
|
foreign = pkgs.callPackage (import ./foreign.nix) { };
|
|
|
|
in
|
|
|
|
{
|
2022-05-10 19:04:51 +02:00
|
|
|
wallpaper = wallpaper.foreign or "${foreign.wallpapers}/${wallpaper}";
|
2022-05-10 18:00:16 +02:00
|
|
|
|
|
|
|
name = "catppuccin";
|
|
|
|
neovim = {
|
|
|
|
plugins = [
|
|
|
|
(
|
|
|
|
pkgs.vimUtils.buildVimPluginFrom2Nix {
|
|
|
|
name = "catppuccin";
|
|
|
|
src = foreign.nvim;
|
|
|
|
}
|
|
|
|
)
|
|
|
|
];
|
|
|
|
theme = builtins.readFile ./nvim.lua;
|
|
|
|
|
|
|
|
lualineTheme = "catppuccin";
|
|
|
|
};
|
|
|
|
tmux.path = "${foreign.tmux}/catppuccin.conf";
|
|
|
|
sddm.path = "${foreign.sddm}";
|
|
|
|
grub.path = pkgs.nixos-grub2-theme;
|
|
|
|
# grub.path = "${foreign.grub}/catppuccin-grub-theme/theme.txt";
|
|
|
|
gtk.path = null;
|
|
|
|
xresources = builtins.readFile "${foreign.xresources}/Xresources";
|
|
|
|
rofi = {
|
2022-05-11 19:08:21 +02:00
|
|
|
theme = "${foreign.rofi}/.local/share/rofi/themes/catppuccin.rasi";
|
|
|
|
config = ''
|
|
|
|
@import "${foreign.rofi}/.config/rofi/config.rasi"
|
|
|
|
@import "${./rofi.rasi}"'';
|
2022-05-10 18:00:16 +02:00
|
|
|
};
|
|
|
|
alacritty.settings = {
|
|
|
|
import = [ "${foreign.alacritty}/catppuccin.yml" ];
|
|
|
|
window = {
|
|
|
|
padding = {
|
2022-05-10 19:04:51 +02:00
|
|
|
x = 0;
|
|
|
|
y = 0;
|
2022-05-10 18:00:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
gtk_theme_variant = "dark";
|
|
|
|
};
|
|
|
|
|
|
|
|
background_opacity = transparency;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|