commit 19b84a87efe3a0beeeff98e4ce41a038161bc034
parent d21ac43b0e92ebe93d5dafd00e9368c81be6ad4f
Author: benjamin paul <bpaul@bpaul.xyz>
Date: Thu, 1 Jul 2021 20:01:24 +1000
Some tokyo-dark theming but it is kinda annoying to do without a nixpkgs vim plugin for it
Diffstat:
3 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/home/modules/default.nix b/home/modules/default.nix
@@ -3,8 +3,6 @@
with lib;
let
- libExtra = import ../../lib { inherit lib; };
-
importModulesRecursively = dir:
let d = builtins.readDir dir; in
if hasAttrByPath [ "default.nix" ] d then [ "" ] else
diff --git a/home/profiles/laptop.nix b/home/profiles/laptop.nix
@@ -6,7 +6,8 @@ let
scripts = libExtra.mapOnDirRec ../scripts (name: a:
libExtra.createScriptFile name "${toString ../scripts}/${name}"
);
-in {
+in
+{
home.stateVersion = "20.09";
imports = [
diff --git a/home/themes/tokyo-dark/default.nix b/home/themes/tokyo-dark/default.nix
@@ -1,6 +1,10 @@
-{ pkgs, ... }:
+{ pkgs, lib, ... }:
+
+with lib;
let
+ extraLib = import ../../../lib { inherit lib; };
+
red1 = "#cc241d";
red2 = "#fb4934";
@@ -25,6 +29,8 @@ let
orange1 = "#d65d0e";
orange2 = "#fe8019";
+ black = "#06080A";
+
bg0 = "#11121d";
bg1 = "#1a1b2a";
bg2 = "#212234";
@@ -40,10 +46,10 @@ in
imports = [ ../../modules ];
alacritty.colours = {
- bg = bg0_h;
- fg = fg0;
+ bg = bg0;
+ fg = fg;
- black = bg0_h;
+ black = black;
black-bright = grey2;
red = red1;
@@ -65,14 +71,14 @@ in
cyan-bright = cyan2;
white = grey1;
- white-bright = fg1;
+ white-bright = fg;
};
polybar.colours = {
- background = bg0_h;
+ background = bg0;
background-alt = bg2;
- foreground = fg0;
- foreground-alt = fg4; # bg4?
+ foreground = fg;
+ foreground-alt = bg4; # bg4?
alert = red2;
wm-underline = yellow1;
date-underline = yellow1;