1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00

modularize colorscheming and more

This commit is contained in:
Kierán Meinhardt
2019-04-19 15:02:05 +02:00
parent a763c63de4
commit 7d6dbc2809
37 changed files with 483 additions and 496 deletions

View File

@@ -1,38 +1,37 @@
{ config, ... }:
let theme = import <dot/theme.nix>;
in {
with config.niveum; {
home-manager.users.me.programs.rofi = {
enable = true;
separator = "solid";
scrollbar = false;
terminal = config.niveum.applications.terminal;
terminal = applications.terminal;
borderWidth = 0;
lines = 5;
font = "${theme.terminalFont.name} ${toString (theme.terminalFont.size + 1)}";
font = "${fonts.terminal.name} ${toString (fonts.terminal.size + 1)}";
colors = rec {
window = {
background = theme.invertedColorScheme.background;
border = theme.invertedColorScheme.background;
separator = theme.invertedColorScheme.black.light;
window = rec {
background = colours.foreground;
border = background;
separator = colours.black.bright;
};
rows = {
normal = {
background = window.background;
backgroundAlt = window.background;
foreground = theme.invertedColorScheme.foreground;
highlight = { foreground = theme.invertedColorScheme.cyan.dark; inherit (window) background; };
foreground = colours.background;
highlight = { foreground = colours.cyan.dark; inherit (window) background; };
};
active = {
background = window.background;
backgroundAlt = window.background;
foreground = theme.invertedColorScheme.yellow.dark;
highlight = { foreground = theme.invertedColorScheme.green.dark; inherit (window) background; };
foreground = colours.yellow.dark;
highlight = { foreground = colours.green.dark; inherit (window) background; };
};
urgent = {
background = window.background;
backgroundAlt = window.background;
foreground = theme.invertedColorScheme.red.dark;
highlight = { foreground = theme.invertedColorScheme.magenta.dark; inherit (window) background; };
foreground = colours.red.dark;
highlight = { foreground = colours.magenta.dark; inherit (window) background; };
};
};
};