theme collect & kitty & wallpaper & yazi
Collect all catppuccin theme settings together, set wallpaper using wpapderd, change console to kitty and install yazi
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
{
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
flavor = "mocha";
|
||||
accent = "pink";
|
||||
|
||||
alacritty.enable = true;
|
||||
anki.enable = true;
|
||||
cursors.enable = true;
|
||||
dunst.enable = true;
|
||||
element-desktop.enable = true;
|
||||
firefox.enable = true;
|
||||
fzf.enable = true;
|
||||
hyprlock.enable = true;
|
||||
imv.enable = true;
|
||||
lazygit.enable = true;
|
||||
rofi.enable = true;
|
||||
spotify-player.enable = true;
|
||||
thunderbird.enable = true;
|
||||
vscode.enable = true;
|
||||
zathura.enable = true;
|
||||
zsh-syntax-highlighting.enable = true;
|
||||
};
|
||||
}
|
||||
76
home/themes/catppuccin/catppuccin-taskwarrior.theme
Normal file
76
home/themes/catppuccin/catppuccin-taskwarrior.theme
Normal file
@@ -0,0 +1,76 @@
|
||||
# Theme colors for catppuccin
|
||||
|
||||
# General decoration
|
||||
color.label=magenta
|
||||
color.label.sort=magenta
|
||||
color.alternate=
|
||||
color.header=cyan
|
||||
color.footnote=yellow
|
||||
color.warning=bold red
|
||||
color.error=white on red
|
||||
color.debug=blue
|
||||
|
||||
# Task state
|
||||
color.completed=black
|
||||
color.deleted=red
|
||||
color.active=green
|
||||
color.recurring=blue
|
||||
color.scheduled=white on green
|
||||
color.until=yellow
|
||||
color.blocked=green
|
||||
color.blocking=yellow
|
||||
|
||||
# Project
|
||||
color.project.none=red
|
||||
|
||||
# Priority
|
||||
color.uda.priority.H=bold white
|
||||
color.uda.priority.M=white
|
||||
color.uda.priority.L=
|
||||
|
||||
# Tags
|
||||
color.tag.next=bold yellow
|
||||
color.tag.none=
|
||||
color.tagged=
|
||||
|
||||
# Due
|
||||
color.due=red
|
||||
color.due.today=red
|
||||
color.overdue=bold red
|
||||
|
||||
# UDA
|
||||
#color.uda.X=
|
||||
|
||||
# Report: burndown
|
||||
color.burndown.done=on green
|
||||
color.burndown.pending=on magenta
|
||||
color.burndown.started=on blue
|
||||
|
||||
# Report: history
|
||||
color.history.add=black on blue
|
||||
color.history.delete=black on red
|
||||
color.history.done=black on green
|
||||
|
||||
# Report: summary
|
||||
color.summary.background=
|
||||
color.summary.bar=black on green
|
||||
|
||||
# Command: calendar
|
||||
color.calendar.due=red
|
||||
color.calendar.due.today=underline bold red
|
||||
color.calendar.holiday=black on bright yellow
|
||||
color.calendar.overdue=bold white on bright red
|
||||
color.calendar.scheduled=green
|
||||
color.calendar.today=black on cyan
|
||||
color.calendar.weekend=black
|
||||
color.calendar.weeknumber=bold blue
|
||||
|
||||
# Command: sync
|
||||
color.sync.added=green
|
||||
color.sync.changed=yellow
|
||||
color.sync.rejected=red
|
||||
|
||||
# Command: undo
|
||||
color.undo.after=green
|
||||
color.undo.before=red
|
||||
|
||||
9
home/themes/catppuccin/cursor.nix
Normal file
9
home/themes/catppuccin/cursor.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.pointerCursor = {
|
||||
package = pkgs.catppuccin-cursors.mochaPink;
|
||||
name = "Catppuccin-Mocha-Pink-Cursors";
|
||||
gtk.enable = true;
|
||||
};
|
||||
}
|
||||
38
home/themes/catppuccin/default.nix
Normal file
38
home/themes/catppuccin/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./cursor.nix
|
||||
./gtk.nix
|
||||
./hyprlock.nix
|
||||
./nvim.nix
|
||||
./taskwarrior.nix
|
||||
];
|
||||
|
||||
catppuccin = {
|
||||
enable = false;
|
||||
flavor = "mocha";
|
||||
accent = "pink";
|
||||
|
||||
anki.enable = true;
|
||||
dunst.enable = true;
|
||||
element-desktop.enable = true;
|
||||
firefox.enable = true;
|
||||
fzf.enable = true;
|
||||
imv.enable = true;
|
||||
kitty.enable = true;
|
||||
lazygit.enable = true;
|
||||
rofi.enable = true;
|
||||
spotify-player.enable = true;
|
||||
thunderbird.enable = true;
|
||||
vscode.profiles.default.enable = true;
|
||||
zathura.enable = true;
|
||||
zsh-syntax-highlighting.enable = true;
|
||||
};
|
||||
|
||||
# ── Icon for Lock & Loginscreen ───────────────────────────────────────
|
||||
xdg.configFile.".face.icon".source = inputs.images + /face.icon;
|
||||
}
|
||||
27
home/themes/catppuccin/gtk.nix
Normal file
27
home/themes/catppuccin/gtk.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ dconf ];
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
name = "Catppuccin-Mocha-Compact-Pink-Dark";
|
||||
package = pkgs.catppuccin-gtk.override {
|
||||
accents = [ "pink" ];
|
||||
size = "compact";
|
||||
tweaks = [ "rimless" ];
|
||||
variant = "mocha";
|
||||
};
|
||||
};
|
||||
font = {
|
||||
package = pkgs.fira-code;
|
||||
name = "Fira Code";
|
||||
};
|
||||
iconTheme = {
|
||||
package = pkgs.oranchelo-icon-theme;
|
||||
name = "Oranchelo";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
102
home/themes/catppuccin/hyprlock.nix
Normal file
102
home/themes/catppuccin/hyprlock.nix
Normal file
@@ -0,0 +1,102 @@
|
||||
{ inputs, ... }:
|
||||
|
||||
let
|
||||
variables = {
|
||||
accent = "rgb(f5c2e7)";
|
||||
accentPango = "##f5c2e7";
|
||||
base = "rgb(1e1e2e)";
|
||||
text = "rgb(cdd6f4)";
|
||||
textPango = "##cdd6f4";
|
||||
surface0 = "rgb(313244)";
|
||||
red = "rgb(f38ba8)";
|
||||
yellow = "rgb(f9e2af)";
|
||||
font = "Fira Code";
|
||||
};
|
||||
in
|
||||
{
|
||||
# ── Hyprlock ──────────────────────────────────────────────────────────
|
||||
programs.hyprlock.settings = {
|
||||
|
||||
general = {
|
||||
hide_cursor = true;
|
||||
ignore_empty_input = true;
|
||||
};
|
||||
|
||||
background = {
|
||||
monitor = "";
|
||||
path = "${inputs.images}/lockpaper.png";
|
||||
blur_passes = 0;
|
||||
color = variables.base;
|
||||
};
|
||||
|
||||
label = [
|
||||
# ── Time ──────────────────────────────────────────────────────────────
|
||||
{
|
||||
monitor = "";
|
||||
text = "$TIME";
|
||||
color = variables.text;
|
||||
font_size = 90;
|
||||
font_family = variables.font;
|
||||
position = "-30, 0";
|
||||
halign = "right";
|
||||
valign = "top";
|
||||
}
|
||||
|
||||
# ── Date ──────────────────────────────────────────────────────────────
|
||||
{
|
||||
monitor = "";
|
||||
text = "cmd[update:43200000] date +'%A, %d %B %Y'";
|
||||
color = variables.text;
|
||||
font_size = 25;
|
||||
font_family = variables.font;
|
||||
position = "-30, -150";
|
||||
halign = "right";
|
||||
valign = "top";
|
||||
}
|
||||
|
||||
# ── Fingerprint ───────────────────────────────────────────────────────
|
||||
{
|
||||
monitor = "";
|
||||
text = "$FPRINTPROMPT"; # TODO: No output yet check again
|
||||
color = variables.text;
|
||||
font_size = 14;
|
||||
font_family = variables.font;
|
||||
position = "0, -107";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
|
||||
image = {
|
||||
monitor = "";
|
||||
path = "${inputs.images}/face.icon";
|
||||
size = 100;
|
||||
border_color = variables.accent;
|
||||
position = "0, 75";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
};
|
||||
|
||||
input-field = {
|
||||
monitor = "";
|
||||
size = "300, 60";
|
||||
outline_thickness = 4;
|
||||
dots_size = 0.2;
|
||||
dots_spacing = 0.2;
|
||||
dots_center = true;
|
||||
outer_color = variables.accent;
|
||||
inner_color = variables.surface0;
|
||||
font_color = variables.text;
|
||||
fade_on_empty = false;
|
||||
placeholder_text = "<span foreground='${variables.textPango}'><i> Logged in as </i><span foreground='${variables.accentPango}'>$USER</span></span>";
|
||||
hide_input = false;
|
||||
check_color = variables.accent;
|
||||
fail_color = variables.red;
|
||||
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
|
||||
capslock_color = variables.yellow;
|
||||
position = "0, -47";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
};
|
||||
};
|
||||
}
|
||||
48
home/themes/catppuccin/nvim.nix
Normal file
48
home/themes/catppuccin/nvim.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.nixvim = {
|
||||
colorscheme = "catppuccin";
|
||||
colorschemes.catppuccin = {
|
||||
#lazyLoad.enable = true;
|
||||
enable = true;
|
||||
flavour = "mocha";
|
||||
accents = "pink";
|
||||
settings = {
|
||||
integrations = {
|
||||
markdown = true;
|
||||
leap = true;
|
||||
dap = true;
|
||||
dap_ui = true;
|
||||
lsp_trouble = true;
|
||||
blink_cmp = true;
|
||||
gitsigns = true;
|
||||
diffview = true;
|
||||
treesitter = true;
|
||||
barbar = true;
|
||||
telescope = true;
|
||||
native_lsp = {
|
||||
enabled = true;
|
||||
virtual_text = {
|
||||
errors = [ "italic" ];
|
||||
hints = [ "italic" ];
|
||||
warnings = [ "italic" ];
|
||||
information = [ "italic" ];
|
||||
ok = [ "italic" ];
|
||||
};
|
||||
underlines = {
|
||||
errors = [ "underline" ];
|
||||
hints = [ "underline" ];
|
||||
warnings = [ "underline" ];
|
||||
information = [ "underline" ];
|
||||
ok = [ "underline" ];
|
||||
};
|
||||
inlay_hints.background = true;
|
||||
};
|
||||
lsp_saga = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
plugins.lualine.settings.theme = "catppuccin";
|
||||
};
|
||||
}
|
||||
5
home/themes/catppuccin/taskwarrior.nix
Normal file
5
home/themes/catppuccin/taskwarrior.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.taskwarrior.colorTheme = ./catppuccin-taskwarrior.theme;
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./catppuccin.nix
|
||||
./catppuccin
|
||||
./wallpaper.nix
|
||||
];
|
||||
}
|
||||
|
||||
BIN
home/themes/images/face.icon
Normal file
BIN
home/themes/images/face.icon
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
BIN
home/themes/images/lockpaper.png
Normal file
BIN
home/themes/images/lockpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
BIN
home/themes/images/wallpaper.jpeg
Normal file
BIN
home/themes/images/wallpaper.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 MiB |
9
home/themes/wallpaper.nix
Normal file
9
home/themes/wallpaper.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
services.wpaperd = {
|
||||
enable = true;
|
||||
|
||||
settings.any.path = "${inputs.images}/wallpaper.jpeg"; # TODO: change wallpaper / make automatic pull from some website? -> animals and fallback to something if no iternet
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user