From bddc077fed4b9afdeb566fa398735894cb7895f9 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 8 Apr 2023 15:29:17 +0530 Subject: [PATCH] update window rules --- home/wm/hyprland/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 5d1f480..e605334 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -91,8 +91,14 @@ in windowrulev2 = center,class:^(mpv)$ windowrulev2 = dimaround,class:^(mpv)$ + windowrulev2 = float,class:^(io.github.celluloid_player.Celluloid)$ + windowrulev2 = size 90% 90%,class:^(io.github.celluloid_player.Celluloid)$ + windowrulev2 = center,class:^(io.github.celluloid_player.Celluloid)$ + windowrulev2 = dimaround,class:^(io.github.celluloid_player.Celluloid)$ + windowrulev2 = float,class:^(eog)$ - windowrulev2 = size 90% 90%,class:^(mpv)$ + windowrulev2 = float,class:^(eog)$ + windowrulev2 = size 90% 90%,class:^(eog)$ windowrulev2 = center,class:^(eog)$ windowrulev2 = dimaround,class:^(eog)$ @@ -108,6 +114,12 @@ in windowrulev2 = size 20% 50%,class:^(virt-manager)$,title:^(Virtual Machine Manager)$ windowrulev2 = move 5%% 10%,class:^(virt-manager)$,title:^(Virtual Machine Manager)$ + windowrulev2 = float,class:^(.yubioath-flutter-wrapped)$ + windowrulev2 = center,class:^(.yubioath-flutter-wrapped)$ + + windowrulev2 = float,class:^(yubico.org.)$ + windowrulev2 = center,class:^(yubico.org.)$ + exec-once = ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1 exec-once = ${hyprctl} setcursor ${config.gtk.cursorTheme.name} 24 exec-once = ${change-wallpaper}