diff --git a/homemanager/hyprland.nix b/homemanager/hyprland.nix index deaf52d..5c71af7 100644 --- a/homemanager/hyprland.nix +++ b/homemanager/hyprland.nix @@ -19,9 +19,7 @@ in xdg.configFile = { "hypr/hyprland.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprland.conf; - "hypr/hyprpaper.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprpaper.conf; "hypr/hypridle.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hypridle.conf; - "hypr/hyprlock.conf".source = config.lib.file.mkOutOfStoreSymlink ./hyprland/hyprlock.conf; "backgrounds".source = config.lib.file.mkOutOfStoreSymlink ./backgrounds; "hypr/nix.conf".text = '' diff --git a/homemanager/hyprland/hypridle.conf b/homemanager/hyprland/hypridle.conf index 17714bc..240dc17 100644 --- a/homemanager/hyprland/hypridle.conf +++ b/homemanager/hyprland/hypridle.conf @@ -1,3 +1,3 @@ general { - before_sleep_cmd = hyprlock # command ran before sleep + before_sleep_cmd = noctalia-shell ipc call lockScreen lock # command ran before sleep } diff --git a/homemanager/hyprland/hyprland.conf b/homemanager/hyprland/hyprland.conf index 5d99d5a..d8f708c 100644 --- a/homemanager/hyprland/hyprland.conf +++ b/homemanager/hyprland/hyprland.conf @@ -229,8 +229,8 @@ bind = $mainMod, Space, exec, $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod SHIFT, D, exec, discord # bind = $mainMod, J, togglesplit, # dwindle -bind = SUPER_ALT,L, exec, hyprlock -bind = ,F10, exec, hyprlock +bind = SUPER_ALT,L, exec, noctalia-shell ipc call lockScreen lock +bind = ,F10, exec, noctalia-shell ipc call lockScreen lock bind = $mainMod ALT, Space, exec, hyprctl switchxkblayout current next bind = $mainMod SHIFT, S, exec, hyprshot -m region -z # This requires gpu-screen-recorder to be installed. I installed it with this https://wiki.nixos.org/wiki/Gpu-screen-recorder.