Dynamically theme wallpaper, i3 tabs, kitty

inky
Elnu 2 years ago
parent 1fb2415cd4
commit 5ce8aa8641

@ -1,4 +1,7 @@
{
kitty-theme = "Everforest Dark Hard";
wallpaper = "306286.jpg";
background = "#1e2326";
background-alt = "#272e33";
foreground = "#d3c6aa";

@ -1,4 +1,7 @@
{
kitty-theme = "Nord";
wallpaper = "roxynord.png";
background = "#2e3440";
background-alt = "#3b4252";
foreground = "#eceff4";

@ -3,6 +3,7 @@
let
theme = pkgs.nordic;
themeName = "Nordic";
colors = import ../colors;
in
{
imports = [
@ -17,7 +18,7 @@ in
../terminal.nix
];
home.file."./.background-image".source = ../wallpapers/306286.jpg;
home.file."./.background-image".source = ../wallpapers/${colors.wallpaper};
programs.home-manager.enable = true;

@ -1,6 +1,7 @@
{ pkgs, lib, ... }:
let
colors = import ./colors;
mod = "Mod4";
in {
# Dependencies
@ -22,25 +23,25 @@ in {
};
colors = {
focused = {
border = "#4c566a";
background = "#4c566a";
text = "#eceff4";
indicator = "#ff00ff";
childBorder = "#ff00ff";
border = "${colors.background-alt}";
background = "${colors.background-alt}";
text = "${colors.foreground}";
indicator = "${colors.undefined}";
childBorder = "${colors.undefined}";
};
focusedInactive = {
border = "#434c5e";
background = "#434c5e";
text = "#e5e9f0";
indicator = "#ff00ff";
childBorder = "#ff00ff";
border = "${colors.background-alt}";
background = "${colors.background-alt}";
text = "${colors.foreground}";
indicator = "${colors.undefined}";
childBorder = "${colors.undefined}";
};
unfocused = {
border = "#2e3440";
background = "#2e3440";
text = "#e5e9f0";
indicator = "#ff00ff";
childBorder = "#ff00ff";
border = "${colors.background}";
background = "${colors.background}";
text = "${colors.foreground}";
indicator = "${colors.undefined}";
childBorder = "${colors.undefined}";
};
};
startup = [

@ -1,10 +1,13 @@
{ pkgs, ... }:
{ ... }:
let
colors = import ./colors;
in
{
programs.kitty = {
enable = true;
# https://github.com/kovidgoyal/kitty-themes/blob/master/themes.json
theme = "Everforest Dark Hard";
theme = "${colors.kitty-theme}";
font = {
name = "FiraCode Nerd Font Mono";
size = 12;

Loading…
Cancel
Save