Compare commits
2 Commits
1fef6cedcb
...
b73ba4dfa3
| Author | SHA1 | Date | |
|---|---|---|---|
| b73ba4dfa3 | |||
| 68abcf7644 |
@@ -1,12 +1,14 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.todoman ];
|
||||
|
||||
xdg.configFile."todoman/config.py".text = ''
|
||||
path = "${config.xdg.dataHome}/calendars/*/*"
|
||||
date_format = "%d-%m-%Y"
|
||||
time_format = "%H:%M"
|
||||
default_list = "personal"
|
||||
default_due = 48
|
||||
'';
|
||||
programs.todoman = {
|
||||
enable = true;
|
||||
glob = "*/*";
|
||||
extraConfig = ''
|
||||
date_format = "%Y-%m-%d"
|
||||
time_format = "%H:%M"
|
||||
default_list = "personal"
|
||||
default_due = 0
|
||||
default_command = "list --sort due"
|
||||
humanize = True
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
104
modules/themes/tokyo-city.nix
Normal file
104
modules/themes/tokyo-city.nix
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.theme = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {
|
||||
rounding = 17;
|
||||
gaps-in = 5;
|
||||
gaps-out = 10;
|
||||
active-opacity = 1;
|
||||
inactive-opacity = 1;
|
||||
blur = true;
|
||||
border-size = 3;
|
||||
animation-speed = "fast"; # "fast" | "medium" | "slow"
|
||||
fetch = "none"; # "nerdfetch" | "neofetch" | "pfetch" | "none"
|
||||
textColorOnWallpaper = config.lib.stylix.colors.base01; # Color of the text displayed on the wallpaper (Lockscreen, display manager, ...)
|
||||
|
||||
bar = {
|
||||
# Hyprpanel
|
||||
position = "top"; # "top" | "bottom"
|
||||
transparent = true;
|
||||
transparentButtons = false;
|
||||
floating = true;
|
||||
};
|
||||
};
|
||||
description = "Theme configuration options";
|
||||
};
|
||||
|
||||
config.stylix = {
|
||||
enable = true;
|
||||
|
||||
# Tokyo Night Dark
|
||||
# See https://tinted-theming.github.io/tinted-gallery/ for more schemes
|
||||
base16Scheme = {
|
||||
base00 = "#171D23";
|
||||
base01 = "#1D252C";
|
||||
base02 = "#28323A";
|
||||
base03 = "#526270";
|
||||
base04 = "#B7C5D3";
|
||||
base05 = "#D8E2EC";
|
||||
base06 = "#F6F6F8";
|
||||
base07 = "#FBFBFD";
|
||||
base08 = "#F7768E";
|
||||
base09 = "#FF9E64";
|
||||
base0A = "#B7C5D3";
|
||||
base0B = "#9ECE6A";
|
||||
base0C = "#89DDFF";
|
||||
base0D = "#7AA2F7";
|
||||
base0E = "#BB9AF7";
|
||||
base0F = "#BB9AF7";
|
||||
};
|
||||
|
||||
cursor = {
|
||||
name = "phinger-cursors-light";
|
||||
package = pkgs.phinger-cursors;
|
||||
size = 28;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||
name = "JetBrains Mono Nerd Font";
|
||||
};
|
||||
|
||||
sansSerif = {
|
||||
package = pkgs.source-sans-pro;
|
||||
name = "Source Sans Pro";
|
||||
};
|
||||
|
||||
serif = config.stylix.fonts.sansSerif;
|
||||
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-color-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
sizes = {
|
||||
applications = 13;
|
||||
desktop = 13;
|
||||
popups = 15;
|
||||
terminal = 11.5;
|
||||
};
|
||||
};
|
||||
|
||||
polarity = "dark";
|
||||
image = pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/anotherhadi/awesome-wallpapers/refs/heads/main/app/static/wallpapers/leef_dark_purple_minimalist.png";
|
||||
sha256 = "sha256-q6ufFdC/tMSb+mllw7XhilkAObemXXyps2SBlnMt7mY=";
|
||||
};
|
||||
|
||||
# image = pkgs.fetchurl {
|
||||
# url = "https://raw.githubusercontent.com/anotherhadi/awesome-wallpapers/refs/heads/main/app/static/wallpapers/alone-cloud_dark.png";
|
||||
# sha256 = "sha256-L4Esjo6LEwhBEN29WX445F+54rlnvOtAMKsQz8Qpyuc=";
|
||||
# };
|
||||
|
||||
# image = pkgs.fetchurl {
|
||||
# url = "https://raw.githubusercontent.com/anotherhadi/awesome-wallpapers/refs/heads/main/app/static/wallpapers/the-cloud-is-hidding-the-moon_dark.png";
|
||||
# sha256 = "sha256-EEH2cHsVromD+X5VFF3YObNuSSRbDnpfqEN6fjCztbc=";
|
||||
# };
|
||||
};
|
||||
}
|
||||
104
modules/themes/tokyo-night.nix
Normal file
104
modules/themes/tokyo-night.nix
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.theme = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {
|
||||
rounding = 17;
|
||||
gaps-in = 5;
|
||||
gaps-out = 10;
|
||||
active-opacity = 1;
|
||||
inactive-opacity = 1;
|
||||
blur = true;
|
||||
border-size = 3;
|
||||
animation-speed = "fast"; # "fast" | "medium" | "slow"
|
||||
fetch = "none"; # "nerdfetch" | "neofetch" | "pfetch" | "none"
|
||||
textColorOnWallpaper = config.lib.stylix.colors.base01; # Color of the text displayed on the wallpaper (Lockscreen, display manager, ...)
|
||||
|
||||
bar = {
|
||||
# Hyprpanel
|
||||
position = "top"; # "top" | "bottom"
|
||||
transparent = true;
|
||||
transparentButtons = false;
|
||||
floating = true;
|
||||
};
|
||||
};
|
||||
description = "Theme configuration options";
|
||||
};
|
||||
|
||||
config.stylix = {
|
||||
enable = true;
|
||||
|
||||
# Tokyo Night Dark
|
||||
# See https://tinted-theming.github.io/tinted-gallery/ for more schemes
|
||||
base16Scheme = {
|
||||
base00 = "#1A1B26";
|
||||
base01 = "#16161E";
|
||||
base02 = "#2F3549";
|
||||
base03 = "#444B6A";
|
||||
base04 = "#787C99";
|
||||
base05 = "#A9B1D6";
|
||||
base06 = "#CBCCD1";
|
||||
base07 = "#D5D6DB";
|
||||
base08 = "#C0CAF5";
|
||||
base09 = "#A9B1D6";
|
||||
base0A = "#0DB9D7";
|
||||
base0B = "#9ECE6A";
|
||||
base0C = "#B4F9F8";
|
||||
base0D = "#2AC3DE";
|
||||
base0E = "#BB9AF7";
|
||||
base0F = "#F7768E";
|
||||
};
|
||||
|
||||
cursor = {
|
||||
name = "phinger-cursors-light";
|
||||
package = pkgs.phinger-cursors;
|
||||
size = 28;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||
name = "JetBrains Mono Nerd Font";
|
||||
};
|
||||
|
||||
sansSerif = {
|
||||
package = pkgs.source-sans-pro;
|
||||
name = "Source Sans Pro";
|
||||
};
|
||||
|
||||
serif = config.stylix.fonts.sansSerif;
|
||||
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-color-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
sizes = {
|
||||
applications = 13;
|
||||
desktop = 13;
|
||||
popups = 15;
|
||||
terminal = 11.5;
|
||||
};
|
||||
};
|
||||
|
||||
polarity = "dark";
|
||||
# image = pkgs.fetchurl {
|
||||
# url = "https://raw.githubusercontent.com/anotherhadi/awesome-wallpapers/refs/heads/main/app/static/wallpapers/leef_dark_purple_minimalist.png";
|
||||
# sha256 = "sha256-q6ufFdC/tMSb+mllw7XhilkAObemXXyps2SBlnMt7mY=";
|
||||
# };
|
||||
|
||||
# image = pkgs.fetchurl {
|
||||
# url = "https://raw.githubusercontent.com/anotherhadi/awesome-wallpapers/refs/heads/main/app/static/wallpapers/alone-cloud_dark.png";
|
||||
# sha256 = "sha256-L4Esjo6LEwhBEN29WX445F+54rlnvOtAMKsQz8Qpyuc=";
|
||||
# };
|
||||
|
||||
image = pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/anotherhadi/awesome-wallpapers/refs/heads/main/app/static/wallpapers/the-cloud-is-hidding-the-moon_dark.png";
|
||||
sha256 = "sha256-EEH2cHsVromD+X5VFF3YObNuSSRbDnpfqEN6fjCztbc=";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./themes/catppuccin.nix
|
||||
./themes/tokyo-city.nix
|
||||
];
|
||||
|
||||
config.var = {
|
||||
|
||||
Reference in New Issue
Block a user