feat(hyprlock): Remove Hyprlock

This commit is contained in:
punkfairie 2024-10-20 10:17:51 -07:00
parent 62331e913b
commit 71a87bbaf4
Signed by: punkfairie
GPG key ID: 01823C057725C266
2 changed files with 0 additions and 25 deletions

View file

@ -13,7 +13,6 @@
./gtk.nix
./helix.nix
./hyprland.nix
./hyprlock.nix
./imv.nix
./k9s.nix
./kitty.nix

View file

@ -1,24 +0,0 @@
{ config, lib, ... }:
let
inherit (config.catppuccin) sources;
cfg = config.programs.hyprlock.catppuccin;
enable = cfg.enable && config.programs.hyprlock.enable;
in
{
options.programs.hyprlock.catppuccin = lib.ctp.mkCatppuccinOpt { name = "hyprlock"; } // {
accent = lib.ctp.mkAccentOpt "hyprlock";
};
config = lib.mkIf enable {
programs.hyprlock.settings = {
source = [
"${sources.hyprland}/themes/${cfg.flavor}.conf"
# Define accents in file to ensure they appear before user vars
(builtins.toFile "hyprland-${cfg.accent}-accent.conf" ''
$accent = ''$${cfg.accent}
$accentAlpha = ''$${cfg.accent}Alpha
'')
];
};
};
}