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