2019-08-06 10:56:54 -07:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ../. ]; # Load framework for themes
|
|
|
|
|
2019-12-03 21:00:32 -08:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
nordic
|
|
|
|
paper-icon-theme # for rofi
|
|
|
|
];
|
|
|
|
|
|
|
|
fonts.fonts = [ pkgs.nerdfonts ];
|
|
|
|
|
|
|
|
services.compton = {
|
2020-01-03 03:44:14 -08:00
|
|
|
backend = "glx";
|
2019-12-03 21:00:32 -08:00
|
|
|
activeOpacity = "0.96";
|
|
|
|
inactiveOpacity = "0.75";
|
|
|
|
opacityRules = [
|
|
|
|
"100:class_g = 'Firefox'"
|
|
|
|
"100:class_g = 'Gimp'"
|
2020-01-03 03:44:14 -08:00
|
|
|
"100:class_g = 'inkscape'"
|
|
|
|
"100:class_g = 'aseprite'"
|
|
|
|
"100:class_g = 'krita'"
|
|
|
|
"100:class_g = 'Peek'"
|
2019-12-03 21:00:32 -08:00
|
|
|
"100:class_g = 'feh'"
|
|
|
|
"100:class_g = 'mpv'"
|
|
|
|
];
|
|
|
|
settings = {
|
|
|
|
blur-background = true;
|
|
|
|
blur-background-frame = true;
|
|
|
|
blur-background-fixed = true;
|
|
|
|
blur-kern = "7x7box";
|
|
|
|
blur-strength = 340;
|
|
|
|
blur-background-exclude = [
|
|
|
|
"window_type = 'dock'"
|
|
|
|
"window_type = 'desktop'"
|
2020-01-03 03:44:14 -08:00
|
|
|
"class_g = 'Peek'"
|
|
|
|
"_GTK_FRAME_EXTENTS@:c"
|
2019-12-03 21:00:32 -08:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.xserver.displayManager.lightdm = {
|
|
|
|
background = "${./wallpaper.blurred.jpg}";
|
|
|
|
greeters.mini.extraConfig = ''
|
|
|
|
text-color = "#bbc2cf"
|
2019-12-07 11:01:41 -08:00
|
|
|
password-background-color = "#29323d"
|
|
|
|
window-color = "#0b1117"
|
|
|
|
border-color = "#0b1117"
|
2019-12-03 21:00:32 -08:00
|
|
|
'';
|
|
|
|
};
|
2019-08-06 10:56:54 -07:00
|
|
|
|
2020-01-03 20:00:01 -08:00
|
|
|
home = {
|
2019-12-03 21:00:32 -08:00
|
|
|
home.file.".background-image".source = ./wallpaper.jpg;
|
2019-08-06 10:56:54 -07:00
|
|
|
|
|
|
|
xdg.configFile = {
|
|
|
|
"xtheme/90-theme".source = ./Xresources;
|
|
|
|
"dunst/dunstrc".source = ./dunstrc;
|
|
|
|
"bspwm/rc.d/theme".source = ./bspwmrc;
|
|
|
|
"bspwm/rc.d/polybar".source = ./polybar/run.sh;
|
|
|
|
"polybar" = { source = ./polybar; recursive = true; };
|
2019-12-03 21:00:32 -08:00
|
|
|
"rofi/theme" = { source = ./rofi; recursive = true; };
|
|
|
|
"zsh/prompt.zsh".source = ./zsh/prompt.zsh;
|
2019-08-06 10:56:54 -07:00
|
|
|
|
|
|
|
# GTK
|
|
|
|
"gtk-3.0/settings.ini".text = ''
|
|
|
|
[Settings]
|
2019-12-03 21:00:32 -08:00
|
|
|
gtk-theme-name=Nordic-blue
|
|
|
|
gtk-icon-theme-name=Paper
|
2019-08-06 10:56:54 -07:00
|
|
|
gtk-fallback-icon-theme=gnome
|
|
|
|
gtk-application-prefer-dark-theme=true
|
2019-12-11 17:42:23 -08:00
|
|
|
gtk-cursor-theme-name=Paper
|
2019-08-06 10:56:54 -07:00
|
|
|
gtk-xft-hinting=1
|
|
|
|
gtk-xft-hintstyle=hintfull
|
|
|
|
gtk-xft-rgba=none
|
|
|
|
'';
|
|
|
|
|
|
|
|
# GTK2 global theme (widget and icon theme)
|
|
|
|
"gtk-2.0/gtkrc".text = ''
|
2019-12-03 21:00:32 -08:00
|
|
|
gtk-theme-name="Nordic-blue"
|
|
|
|
gtk-icon-theme-name="Paper-Mono-Dark"
|
2019-08-06 10:56:54 -07:00
|
|
|
gtk-font-name="Sans 10"
|
|
|
|
'';
|
|
|
|
|
|
|
|
# QT4/5 global theme
|
|
|
|
"Trolltech.conf".text = ''
|
|
|
|
[Qt]
|
2019-12-03 21:00:32 -08:00
|
|
|
style=Nordic-blue
|
2019-08-06 10:56:54 -07:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|