From b4d50ea4e8bc052bc0ac1d9569df853459fdd4f8 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 10 Aug 2024 17:08:48 -0700 Subject: [PATCH] added execptions for windows --- modules/hyprland/default.nix | 1 + modules/hyprland/window_rules.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 modules/hyprland/window_rules.nix 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)" + ]; + }; +}