diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index c622872..4963454 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -46,6 +46,7 @@ systemPackages = with pkgs; [ xdg-desktop-portal-wlr swaylock + swayidle ]; }; diff --git a/modules/desktop/hyprland/home.nix b/modules/desktop/hyprland/home.nix index afb8082..35cf4e0 100644 --- a/modules/desktop/hyprland/home.nix +++ b/modules/desktop/hyprland/home.nix @@ -117,7 +117,9 @@ }; programs.swaylock.settings = { color = "000000"; - image = "$HOME/.config/wall"; + image = "$HOME/.config/lockwall"; + indicator-caps-lock = true; + show-keyboard-layout = true; }; services.swayidle = { @@ -125,11 +127,11 @@ events = [ { event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; } { event = "lock"; command = "${pkgs.swaylock}/bin/swaylock -fF"; } - { event = "after-resume"; command = "${pkgs.hyprland}/bin/hyprctl dispatcher dpms on"; } + { event = "after-resume"; command = "${pkgs.hyprland}/bin/hyprctl dispatch dpms on"; } ]; timeouts = [ { timeout = 300; command = "${pkgs.swaylock}/bin/swaylock -fF"; } - { timeout = 600; command = "${pkgs.hyprland}/bin/hyprctl dispatcher dpms off"; } + { timeout = 600; command = "${pkgs.hyprland}/bin/hyprctl dispatch dpms off"; } ]; }; }