1
Fork 0
satellite/modules/themes/githubVariant.nix

38 lines
977 B
Nix
Raw Permalink Normal View History

{ variant, transparency ? 1, wallpaper }: { pkgs, ... }:
let
githubTheme = pkgs.myVimPlugins.githubNvimTheme; # github theme for neovim
in
{
inherit wallpaper;
2022-03-10 20:59:18 +01:00
name = "github-${variant}";
neovim = {
plugins = [ pkgs.vimExtraPlugins.github-nvim-theme ];
2022-03-10 20:59:18 +01:00
theme = ''
require('github-theme').setup({theme_style = "${variant}", dark_float = true, transparent = true})
2022-03-10 20:59:18 +01:00
'';
lualineTheme = "github";
};
tmux.path = "${githubTheme}/terminal/tmux/github_${variant}.conf";
sddm.path = "${pkgs.sddm-theme-chili}"; # TODO: don't expose this globally
grub.path = pkgs.nixos-grub2-theme;
2022-05-11 23:11:54 +02:00
rofi.config = ''@theme "purple"'';
2022-03-10 20:59:18 +01:00
alacritty.settings = {
import = [ "${githubTheme}/terminal/alacritty/github_${variant}.yml" ];
2022-03-10 20:59:18 +01:00
window = {
padding = {
x = 8;
y = 8;
};
gtk_theme_variant = if variant == "light" then "light" else "dark";
2022-03-10 20:59:18 +01:00
};
# transparent bg:)
background_opacity = transparency;
2022-03-10 20:59:18 +01:00
};
}