hyprland: to lua

This commit is contained in:
2026-09-05 19:53:47 +03:00
parent 15f8c6fb12
commit c8f45a8b76
17 changed files with 527 additions and 449 deletions
+6 -2
View File
@@ -1,7 +1,11 @@
{ config, pkgs, lib, ... }:
let
hyprLua = import ./hyprland/lua.nix { inherit lib; };
in
lib.mkIf config.programs.hyprlock.enable {
wayland.windowManager.hyprland.settings.exec-once = [ "hyprlock" ];
wayland.windowManager.hyprland.settings.on = [
(hyprLua.onStart [ "hyprlock" ])
];
programs.hyprlock = let
image = pkgs.fetchurl {