ooknet/home/modules/desktop/wayland/compositor/hyprland/settings/misc.nix

22 lines
462 B
Nix

{
lib,
config,
...
}: let
inherit (lib) mkIf;
inherit (config.ooknet) wayland;
in {
config = mkIf (wayland.compositor == "hyprland") {
wayland.windowManager.hyprland.settings.misc = {
mouse_move_enables_dpms = true;
key_press_enables_dpms = true;
disable_hyprland_logo = true;
disable_splash_rendering = true;
enable_swallow = true;
swallow_regex = "foot|nemo";
focus_on_activate = true;
};
};
}