diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index 61f81ab..a086b8b 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -14,6 +14,7 @@ in imports = [ ../ewwbar + ./window_rules.nix ./keybinds.nix ./displays.nix ]; diff --git a/modules/hyprland/window_rules.nix b/modules/hyprland/window_rules.nix new file mode 100644 index 0000000..2acbc77 --- /dev/null +++ b/modules/hyprland/window_rules.nix @@ -0,0 +1,14 @@ +{lib, pkgs, ...}: + +{ + wayland.windowManager.hyprland.settings = { + # See here for details + # https://wiki.hyprland.org/Configuring/Window-Rules/#syntax + # to see active window details: + # hyprctl clients + windowrulev2 = [ + "float,class:(Rofi)" + "float,title:(dbeaver)" + ]; + }; +}