Port iogamasters hyprland config

This commit is contained in:
2024-06-15 12:17:52 +02:00
parent c97f22254a
commit a9d0e298b3
53 changed files with 986 additions and 154 deletions

View File

@ -0,0 +1,39 @@
{
options,
config,
lib,
pkgs,
inputs,
...
}:
let
cfg = config.modules.desktop.addons.gtklock;
inherit (inputs.nix-colors.colorschemes.${builtins.toString config.modules.desktop.colorscheme})
palette
;
in
{
options.modules.desktop.addons.gtklock =
with lib.frajul;
with lib.types;
{
enable = mkBoolOpt false "Enable or disable the gtklock screen locker.";
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ gtklock ];
xdg.configFile."gtklock/style.css".text = ''
window {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-color: #${palette.base00};
}
clock-label {
color: #${palette.base05};
}
'';
};
}