feat(hyprlock): Remove Hyprlock
This commit is contained in:
parent
62331e913b
commit
71a87bbaf4
2 changed files with 0 additions and 25 deletions
|
@ -13,7 +13,6 @@
|
|||
./gtk.nix
|
||||
./helix.nix
|
||||
./hyprland.nix
|
||||
./hyprlock.nix
|
||||
./imv.nix
|
||||
./k9s.nix
|
||||
./kitty.nix
|
||||
|
|
|
@ -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
|
||||
'')
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue