nixos-config/config/programs/theming.nix

104 lines
2.2 KiB
Nix
Raw Normal View History

2022-01-20 07:45:16 +00:00
{ pkgs, ... }:
let theme = import ../../extra/theme.nix; in
{
2022-01-18 14:16:27 +00:00
gtk.enable = true;
2022-01-18 14:11:43 +00:00
gtk.iconTheme.package = pkgs.numix-icon-theme;
2022-01-18 14:12:03 +00:00
gtk.iconTheme.name = "Numix Dark";
2022-01-18 14:15:23 +00:00
gtk.theme.package = pkgs.libsForQt5.breeze-gtk;
gtk.theme.name = "Breeze Dark";
2022-01-19 08:54:36 +00:00
# Paraiso (dark) by Chris Kempson
# Alacritty colors
2022-01-19 08:59:45 +00:00
programs.alacritty = {
2022-01-19 08:57:17 +00:00
enable = true;
2022-01-19 08:59:45 +00:00
settings = {
2022-01-20 07:45:16 +00:00
colors = with theme; {
2022-01-19 08:59:45 +00:00
# Default Colors
primary = {
2022-01-20 07:45:16 +00:00
background = alacrittyColor bg;
foreground = alacrittyColor fg;
2022-01-19 08:59:45 +00:00
};
2022-01-19 08:54:36 +00:00
2022-01-19 08:59:45 +00:00
# Normal Colors
normal = {
2022-01-20 07:45:16 +00:00
black = alacrittyColor black;
red = alacrittyColor dark-red;
green = alacrittyColor dark-green;
yellow = alacrittyColor dark-yellow;
blue = alacrittyColor dark-blue;
magenta = alacrittyColor dark-magenta;
cyan = alacrittyColor dark-cyan;
white = alacrittyColor light-grey;
2022-01-19 08:59:45 +00:00
};
2022-01-19 08:54:36 +00:00
2022-01-19 08:59:45 +00:00
# Bright Colors
bright = {
2022-01-20 07:45:16 +00:00
black = alacrittyColor dark-grey;
red = alacrittyColor red;
green = alacrittyColor green;
yellow = alacrittyColor yellow;
blue = alacrittyColor blue;
magenta = alacrittyColor magenta;
cyan = alacrittyColor cyan;
white = alacrittyColor white;
2022-01-19 08:59:45 +00:00
};
2022-01-19 08:54:36 +00:00
};
};
};
2022-01-19 10:58:37 +00:00
2022-01-20 07:45:16 +00:00
programs.waybar.style = with theme; ''
2022-01-19 10:58:37 +00:00
* {
border: none;
border-radius: 0;
2022-01-19 16:14:03 +00:00
font-family: "NotoSansDisplay Nerd Font", "Noto Sans Mono CJK JP";
}
window.HDMI-A-1 * {
font-size: 12px;
2022-01-19 10:58:37 +00:00
}
window#waybar {
2022-01-20 07:45:16 +00:00
background: ${cssColor bg};
2022-01-19 10:58:37 +00:00
}
#mpd, #cpu {
2022-01-20 07:45:16 +00:00
background: ${cssColor green};
color: ${cssColor bg};
2022-01-19 10:58:37 +00:00
}
#pulseaudio {
2022-01-20 07:45:16 +00:00
background: ${cssColor yellow};
color: ${cssColor bg};
2022-01-19 10:58:37 +00:00
}
#network, #tray {
2022-01-20 07:45:16 +00:00
background: ${cssColor blue};
color: ${cssColor bg};
2022-01-19 10:58:37 +00:00
}
2022-01-20 07:45:16 +00:00
#memory, #workspaces button.focused {
background: ${cssColor magenta};
2022-01-19 10:58:37 +00:00
}
#language {
2022-01-20 07:45:16 +00:00
background: ${cssColor cyan};
2022-01-19 10:58:37 +00:00
}
#clock {
2022-01-20 07:45:16 +00:00
background: ${cssColor light-grey};
2022-01-19 10:58:37 +00:00
}
.urgent {
2022-01-20 07:45:16 +00:00
background: ${cssColor red};
2022-01-19 10:58:37 +00:00
}
2022-01-19 16:14:03 +00:00
#workspaces button {
background: transparent;
}
label {
color: #fff;
}
2022-01-19 10:58:37 +00:00
'';
2022-01-18 14:11:43 +00:00
}