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

modularize

This commit is contained in:
Kierán Meinhardt
2019-04-19 03:11:51 +02:00
parent a90799f39b
commit a763c63de4
58 changed files with 1317 additions and 1172 deletions

40
configs/rofi.nix Normal file
View File

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