swaylock: move to hm

This commit is contained in:
Nydragon 2024-05-19 16:26:56 +09:00
parent 51787b8a91
commit 24d5d3a615
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209
3 changed files with 67 additions and 28 deletions

View file

@ -32,6 +32,35 @@
qt.enable = true; qt.enable = true;
qt.platformTheme.name = "gtk"; qt.platformTheme.name = "gtk";
gtk =
let
pointer = {
name = "Catppuccin-Frappe-Lavender-Cursors";
package = pkgs.catppuccin-cursors.frappeLavender;
size = 32;
};
in
{
enable = true;
theme = {
name = "Catppuccin-Frappe-Compact-Lavender-Dark";
package = pkgs.catppuccin-gtk.override {
accents = [ "lavender" ];
size = "compact";
variant = "frappe";
};
};
cursorTheme = pointer;
iconTheme = {
name = "Papirus-Dark";
# package = pkgs.papirus-icon-theme;
package = pkgs.catppuccin-papirus-folders.override {
accent = "lavender";
flavor = "frappe";
};
};
};
programs.direnv = { programs.direnv = {
enable = true; enable = true;
nix-direnv.enable = true; nix-direnv.enable = true;

View file

@ -11,6 +11,7 @@
cat = "bat"; cat = "bat";
sd = ''cd "$(dirname "$HOME/$(env --chdir ~ fzf)")"''; sd = ''cd "$(dirname "$HOME/$(env --chdir ~ fzf)")"'';
mkdir = "mkdir --parent"; mkdir = "mkdir --parent";
cp = "cp -i";
}; };
functions = { functions = {
gitignore = "curl -sL https://www.gitignore.io/api/$argv"; gitignore = "curl -sL https://www.gitignore.io/api/$argv";

View file

@ -1,34 +1,43 @@
{ pkgs, ... }: { ... }:
let
pointer = {
name = "Catppuccin-Frappe-Lavender-Cursors";
package = pkgs.catppuccin-cursors.frappeLavender;
size = 32;
};
in
{ {
programs.swaylock = { programs.swaylock = {
enable = true; enable = true;
}; settings = {
gtk = { ignore-empty-password = true;
enable = true; indicator-idle-visible = true;
theme = { indicator-radius = 150;
name = "Catppuccin-Frappe-Compact-Lavender-Dark"; indicator-thickness = 30;
package = pkgs.catppuccin-gtk.override {
accents = [ "lavender" ]; # Theme
size = "compact"; color = "303446";
variant = "frappe"; bs-hl-color = "f2d5cf";
}; caps-lock-bs-hl-color = "f2d5cf";
}; caps-lock-key-hl-color = "a6d189";
cursorTheme = pointer; inside-color = "00000000";
iconTheme = { inside-clear-color = "00000000";
name = "Papirus-Dark"; inside-caps-lock-color = "00000000";
# package = pkgs.papirus-icon-theme; inside-ver-color = "00000000";
package = pkgs.catppuccin-papirus-folders.override { inside-wrong-color = "00000000";
accent = "lavender"; key-hl-color = "a6d189";
flavor = "frappe"; layout-bg-color = "00000000";
}; layout-border-color = "00000000";
layout-text-color = "c6d0f5";
line-color = "00000000";
line-clear-color = "00000000";
line-caps-lock-color = "00000000";
line-ver-color = "00000000";
line-wrong-color = "00000000";
ring-color = "babbf1";
ring-clear-color = "f2d5cf";
ring-caps-lock-color = "ef9f76";
ring-ver-color = "8caaee";
ring-wrong-color = "ea999c";
separator-color = "00000000";
text-color = "c6d0f5";
text-clear-color = "f2d5cf";
text-caps-lock-color = "ef9f76";
text-ver-color = "8caaee";
text-wrong-color = "ea999c";
}; };
}; };
} }