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:
2026-03-18 11:25:55 +01:00
parent 35806b21a2
commit e0fb822650
29 changed files with 429 additions and 195 deletions

View File

@@ -1,31 +0,0 @@
{ pkgs, ... }:
# let
# theme = builtins.fetchurl {
# url =
# "https://github.com/catppuccin/alacritty/raw/main/catppuccin-mocha.toml";
# sha256 = "1idjbm5jim9b36235hgwgp9ab81fmbij42y7h85l4l7cqcbyz74l";
# };
# in {
{
home.packages = with pkgs; [
fira-code
alacritty-theme
];
programs.alacritty = {
enable = true;
settings = {
# env = {
# "TERM" = "xterm-256color";
# import = "${theme}";
# };
font = {
size = 7;
normal.family = "Fira Code";
bold.family = "Fira Code";
italic.family = "Fira Code";
};
};
};
}

View File

@@ -1,18 +1,17 @@
{
imports = [
./3dprint.nix
./alacritty.nix
./anki.nix
./calibre.nix
./digikam.nix
./dolphin.nix
./dunst.nix
./eww
./filebrowser.nix
./git.nix
./hyprlock.nix
./hyprpaper
./imv.nix
./inkscape.nix
./kitty.nix
./libreoffice.nix
./messenger.nix
./nextcloud.nix

View File

@@ -60,7 +60,6 @@
:class "${idle_inhibitor == 'start' ? 'idleOn' : 'idleOff' }"
:onclick "systemctl --user is-active hypridle.service && systemctl --user stop hypridle.service || systemctl --user start hypridle.service"
(label
:class "${idle_inhibitor == 'start' ? 'speakerOn' : 'speakerOff'}"
:text "${idle_inhibitor == 'start' ? '󰈈' : '󰛐' }"))))
;; ── Audio ───────────────────────────────────────────────────────────

View File

@@ -18,7 +18,7 @@
// /-- Widgets -->
// /-- Idle Inhibtor -->
.idleOn {color: $green;}
.idleOff {color: $green;}
.idleOff {color: $red;}
// /-- Audio -->
.micOn {color: $green;}
.micOff {color: $red;}

View File

@@ -8,6 +8,8 @@
kdePackages.baloo
nautilus
udisks
yazi
];
xdg.configFile."menus/applications.menu".source = "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
xdg.configFile."menus/applications.menu".source =
"${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 MiB

View File

@@ -1,12 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
swww
];
services.swww.enable = true;
xsession.initExtra = ''
swww-daemon
swww img "/etc/nixos/home/programs/swww/background_temp.jpeg" fill
'';
}

94
home/programs/kitty.nix Normal file
View File

@@ -0,0 +1,94 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
imagemagick
];
home.sessionVariables = {
TERMINAL = "${pkgs.kitty}/bin/kitty";
};
programs.kitty = {
enable = true;
font = {
size = 3;
name = "Fira Code";
package = pkgs.fira-code;
};
settings = {
clear_all_shortcuts = true;
enabled_layouts = "splits:slit_axis=horizontal,stack";
enable_audio_bell = false;
cursor_shape = "underline";
confirm_os_window_close = 0;
allow_remote_control = true;
listen_on = "unix:/tmp/kitty";
shell_integration = true;
tab_bar_min_tabs = 1;
tab_bar_style = "powerline";
};
actionAliases = {
kitty_scrollback_nvim = "kitten ${pkgs.vimPlugins.kitty-scrollback-nvim}/python/kitty_scrollback_nvim.py --nvim-args --noplugin -n";
};
keybindings = {
"ctrl+shift+c" = "copy_to_clipboard";
"ctrl+shift+v" = "paste_from_clipboard";
"ctrl+shift+h" = "kitty_scrollback_nvim";
"ctrl+shift+g" = "kitty_scrollback_nvim --config ksb_builtin_last_cmd_output";
"ctrl+shift+u" = "input_unicode_character";
# WINDOWS
"ctrl+shift+p>j" = "neighboring_window down";
"ctrl+shift+p>k" = "neighboring_window up";
"ctrl+shift+p>h" = "neighboring_window left";
"ctrl+shift+p>l" = "neighboring_window right";
"ctrl+shift+r>j" = "kitten relative_resize.py down 3";
"ctrl+shift+r>k" = "kitten relative_resize.py up 3";
"ctrl+shift+r>h" = "kitten relative_resize.py left 3";
"ctrl+shift+r>l" = "kitten relative_resize.py right 3";
"ctrl+shift+p>shift+h" = "move_window left";
"ctrl+shift+p>shift+l" = "move_window right";
"ctrl+shift+p>shift+j" = "move_window down";
"ctrl+shift+p>shift+k" = "move_window up";
"ctrl+shift+p>s" = "launch --location=hsplit";
"ctrl+shift+p>v" = "launch --location=vsplit";
"ctrl+shift+p>p" = "launch --location=hsplit --cwd=current --bias=35";
"ctrl+shift+p>r" = "layout_action rotate";
"ctrl+shift+p>f" = "toggle_layout stack";
"ctrl+shift+p>q" = "close_window";
# TABS
"ctrl+shift+t>l" = "next_tab";
"ctrl+shift+t>h" = "previous_tab";
"ctrl+shift+t>n" = "new_tab";
"ctrl+shift+t>q" = "close_tab";
"ctrl+shift+t>r" = "set_tab_title";
"ctrl+shift+t>s" = "select_tab";
"ctrl+shift+t>shift+l" = "move_tab_forward";
"ctrl+shift+t>shift+h" = "move_tab_backward";
};
extraConfig = ''
mouse_map ctrl+shift+right press ungrabbed combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output
# Unset the mapping to pass the keys to neovim
map --when-focus-on var:IS_NVIM ctrl+shift+p>j
map --when-focus-on var:IS_NVIM ctrl+shift+p>k
map --when-focus-on var:IS_NVIM ctrl+shift+p>h
map --when-focus-on var:IS_NVIM ctrl+shift+p>l
map --when-focus-on var:IS_NVIM ctrl+shift+r>j
map --when-focus-on var:IS_NVIM ctrl+shift+r>k
map --when-focus-on var:IS_NVIM ctrl+shift+r>h
map --when-focus-on var:IS_NVIM ctrl+shift+r>l
'';
shellIntegration.enableZshIntegration = true;
};
}

View File

@@ -39,49 +39,6 @@
syntax on
'';
# colorscheme = "catppuccin";
# colorschemes.catppuccin = {
# #lazyLoad.enable = true;
# enable = true;
# flavour = "mocha";
# 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;
# };
# };
# };
#
globals = {
mapleader = " ";
maplocalleader = ",";

View File

@@ -4,46 +4,45 @@
programs.nixvim.plugins = {
lualine = {
enable = true;
settings = {
theme = "catppuccin";
# sections = {
# lualine_c = [
# {
# __unkeyed-1 = {
# __raw = ''
# function()
# require("trouble").statusline({
# mode = "lsp_document_symbols",
# groups = {},
# title = false,
# filter = { range = true },
# format = "{kind_icon}{symbol.name:Normal}",
# -- The following line is needed to fix the background color
# -- Set it to the lualine section you want to use
# hl_group = "lualine_c_normal",
# }
# ).get
# end
# '';
# };
# cond = {
# __raw = ''
# require("trouble").statusline({
# mode = "lsp_document_symbols",
# groups = {},
# title = false,
# filter = { range = true },
# format = "{kind_icon}{symbol.name:Normal}",
# -- The following line is needed to fix the background color
# -- Set it to the lualine section you want to use
# hl_group = "lualine_c_normal",
# }).has
# '';
# };
# }
# ];
# };
};
# settings = {
# sections = {
# lualine_c = [
# {
# __unkeyed-1 = {
# __raw = ''
# function()
# require("trouble").statusline({
# mode = "lsp_document_symbols",
# groups = {},
# title = false,
# filter = { range = true },
# format = "{kind_icon}{symbol.name:Normal}",
# -- The following line is needed to fix the background color
# -- Set it to the lualine section you want to use
# hl_group = "lualine_c_normal",
# }
# ).get
# end
# '';
# };
# cond = {
# __raw = ''
# require("trouble").statusline({
# mode = "lsp_document_symbols",
# groups = {},
# title = false,
# filter = { range = true },
# format = "{kind_icon}{symbol.name:Normal}",
# -- The following line is needed to fix the background color
# -- Set it to the lualine section you want to use
# hl_group = "lualine_c_normal",
# }).has
# '';
# };
# }
# ];
# };
# };
};
};
}

View File

@@ -8,11 +8,11 @@
{
home.packages = with pkgs; [
wlr-randr
slurp
grim
wl-clipboard
rivercarro
ristate
slurp
wl-clipboard
];
xdg.configFile."helperscripts" = {
recursive = true;
@@ -44,7 +44,7 @@
settings = {
spawn = [
"/home/${config.home.username}/.config/helperscripts/startEww.sh"
# "nextcloud"
"nextcloud"
];
spawn-tagmask = "${all_but_scratch_tag}";
keyboard-layout = "de";
@@ -68,7 +68,7 @@
};
map = {
normal = {
"Super+Shift Return" = "spawn alacritty";
"Super+Shift Return" = "spawn kitty";
# Messages
"Control+Super W" = "spawn 'printf \"Hello from Wayland!\" | dunstify -'";
# System

View File

@@ -1,76 +0,0 @@
# 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

View File

@@ -11,9 +11,8 @@
programs.taskwarrior = {
enable = true;
colorTheme = ./catppuccin.theme;
package = pkgs.taskwarrior3;
dataLocation = "~/Nextcloud/tasks";
dataLocation = "~/tasks"; # TODO: change to Nextcloud again
config = {
uda.parentName = {
type = "string";

View File

@@ -3,10 +3,11 @@
{
programs.vscode = {
enable = true;
profiles.default.extensions = with pkgs.vscode-extensions; [
dracula-theme.theme-dracula
vscodevim.vim
yzhang.markdown-all-in-one
];
package = pkgs.vscodium;
profiles.default = {
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
extensions = with pkgs.vscode-extensions; [ vscodevim.vim ];
};
};
}

View File

@@ -1,12 +1,5 @@
{ ... }:
# let
# theme = builtins.fetchurl {
# url =
# "https://raw.githubusercontent.com/catppuccin/zathura/main/src/catppuccin-mocha";
# sha256 = "1zhx3bfz5s2wjrj87w0ryh15vgsqqfhg6dm48p63r5fmqwsak721";
# };
# in {
{
programs.zathura = {
enable = true;