mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
kropsify some more
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ config, pkgs }:
|
||||
with import <niveum/theme.nix>;
|
||||
with import <dot/theme.nix>;
|
||||
{
|
||||
enable = true;
|
||||
iconTheme = config.constants.theme.icon;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
haskellPackages:
|
||||
with haskellPackages; [
|
||||
(callPackage <niveum/packages/blessings.nix> {})
|
||||
(callPackage <packages/blessings.nix> {})
|
||||
HTTP
|
||||
HUnit
|
||||
MissingH
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ pkgs, config, lib }:
|
||||
let
|
||||
unstable = import <nixos-unstable> {};
|
||||
i3blocks_conf = import <niveum/dot/i3blocks.nix> { inherit pkgs; };
|
||||
i3blocks_conf = import <dot/i3blocks.nix> { inherit pkgs; };
|
||||
new-workspace = unstable.writers.writeDash "new-workspace" ''
|
||||
i3-msg workspace $(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -1) + 1))
|
||||
'';
|
||||
@@ -12,7 +12,7 @@ let
|
||||
scardanelli = "wlp2s0";
|
||||
homeros = "wlp3s0";
|
||||
}.${config.networking.hostName};
|
||||
in with import <niveum/theme.nix>;
|
||||
in with import <dot/theme.nix>;
|
||||
rec {
|
||||
fonts = [ "${uiFont.name} ${toString uiFont.size}" ];
|
||||
modifier = "Mod4";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ config }:
|
||||
with import <niveum/theme.nix>;
|
||||
with import <dot/theme.nix>;
|
||||
{
|
||||
enable = true;
|
||||
separator = "solid";
|
||||
|
||||
76
dot/theme.nix
Normal file
76
dot/theme.nix
Normal file
@@ -0,0 +1,76 @@
|
||||
let
|
||||
flip = scheme: scheme // rec {
|
||||
background = scheme.foreground;
|
||||
foreground = scheme.background;
|
||||
fadeColor = background;
|
||||
pointerColorForeground = scheme.pointerColorBackground;
|
||||
pointerColorBackground = scheme.pointerColorForeground;
|
||||
};
|
||||
antares = rec {
|
||||
black = { light = "#151515"; dark = "#000000"; };
|
||||
red = { light = "#de575c"; dark = "#de575c"; };
|
||||
yellow = { light = "#ebe971"; dark = "#ebe971"; };
|
||||
green = { light = "#00b853"; dark = "#00b853"; };
|
||||
blue = { light = "#90d0f0"; dark = "#7fc6f0"; };
|
||||
magenta = { light = "#cf9ffa"; dark = "#cf9ffa"; };
|
||||
cyan = { light = "#4ae5e8"; dark = "#4ae5e8"; };
|
||||
white = { light = "#ffffff"; dark = "#bbbbbb"; };
|
||||
background = black.dark;
|
||||
foreground = white.dark;
|
||||
};
|
||||
macOS = rec {
|
||||
black = { light = "#818383"; dark = "#000000"; };
|
||||
red = { light = "#fc391f"; dark = "#c23621"; };
|
||||
yellow = { light = "#eaec23"; dark = "#adad27"; };
|
||||
green = { light = "#31e722"; dark = "#25bc24"; };
|
||||
blue = { light = "#5833ff"; dark = "#492ee1"; };
|
||||
magenta = { light = "#f935f8"; dark = "#d338d3"; };
|
||||
cyan = { light = "#14f0f0"; dark = "#33bbc8"; };
|
||||
white = { light = "#e9ebeb"; dark = "#cbcccd"; };
|
||||
background = black.dark;
|
||||
foreground = white.dark;
|
||||
fadeColor = black.dark;
|
||||
cursorColor = green.light;
|
||||
pointerColorForeground = green.light;
|
||||
pointerColorBackground = white.dark;
|
||||
};
|
||||
solarizedDark = rec {
|
||||
black = { dark = "#073642"; light = "#002b36"; };
|
||||
red = { dark = "#dc322f"; light = "#cb4b16"; };
|
||||
yellow = { dark = "#b58900"; light = "#657b83"; };
|
||||
green = { dark = "#859900"; light = "#586e75"; };
|
||||
blue = { dark = "#268bd2"; light = "#839496"; };
|
||||
magenta = { dark = "#d33682"; light = "#6c71c4"; };
|
||||
cyan = { dark = "#2aa198"; light = "#93a1a1"; };
|
||||
white = { dark = "#eee8d5"; light = "#fdf6e3"; };
|
||||
background = black.light;
|
||||
foreground = blue.light;
|
||||
fadeColor = black.light;
|
||||
cursorColor = cyan.light;
|
||||
pointerColorBackground = green.light;
|
||||
pointerColorForeground = cyan.light;
|
||||
};
|
||||
solarizedLight = solarizedDark // {
|
||||
background = solarizedDark.white.light;
|
||||
foreground = solarizedDark.yellow.light;
|
||||
fadeColor = solarizedDark.white.light;
|
||||
cursorColor = solarizedDark.green.light;
|
||||
pointerColorBackground = solarizedDark.cyan.light;
|
||||
pointerColorForeground = solarizedDark.green.light;
|
||||
};
|
||||
in rec {
|
||||
uiFont = { name = "Sans"; size = 9; };
|
||||
terminalFont = { name = "Monospace"; size = 9; };
|
||||
|
||||
white = "#ffffff";
|
||||
black = "#000000";
|
||||
gray = "#888888";
|
||||
|
||||
colorScheme = macOS;
|
||||
invertedColorScheme = flip macOS;
|
||||
|
||||
colorPalette = [
|
||||
colorScheme.black.dark colorScheme.red.dark colorScheme.green.dark colorScheme.yellow.dark colorScheme.blue.dark colorScheme.magenta.dark colorScheme.cyan.dark colorScheme.white.dark
|
||||
colorScheme.black.light colorScheme.red.light colorScheme.green.light colorScheme.yellow.light colorScheme.blue.light colorScheme.magenta.light colorScheme.cyan.light colorScheme.white.light
|
||||
];
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{ config, pkgs }:
|
||||
with import <niveum/theme.nix>;
|
||||
with import <dot/theme.nix>;
|
||||
{
|
||||
enable = true;
|
||||
package = pkgs.rxvt_unicode-with-plugins;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib }:
|
||||
let theme = import <niveum/theme.nix>;
|
||||
let theme = import <dot/theme.nix>;
|
||||
in with lib; lists.foldr
|
||||
(i: cs: cs // { "*color${toString i}" = builtins.elemAt theme.colorPalette i; })
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user