From 0e0f84ec7fb176eed5fec1487ac24a915ee06fb9 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 7 Apr 2023 16:39:27 +0530 Subject: [PATCH] more window rules --- home/wm/hyprland/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index cb5314c..e6331bf 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -31,6 +31,8 @@ in } } + windowrulev2 = workspace 2,class:^(firefox)$,title:^(Mozilla Firefox)$ + windowrulev2 = nofullscreenrequest,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$ windowrulev2 = float,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$ windowrulev2 = move 95% 50%,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$ @@ -48,6 +50,23 @@ in windowrulev2 = center,class:^(mpv)$ windowrulev2 = dimaround,class:^(mpv)$ + windowrulev2 = float,class:^(eog)$ + windowrulev2 = size 90% 90%,class:^(mpv)$ + windowrulev2 = center,class:^(eog)$ + windowrulev2 = dimaround,class:^(eog)$ + + windowrulev2 = float,class:^(io.elementary.files)$ + windowrulev2 = center,class:^(io.elementary.files)$ + windowrulev2 = size 60% 50%,class:^(io.elementary.files)$ + + windowrulev2 = float,class:^(gnome-system-monitor)$ + windowrulev2 = center,class:^(gnome-system-monitor)$ + windowrulev2 = size 60% 50%,class:^(gnome-system-monitor)$ + + windowrulev2 = float,class:^(virt-manager)$ + windowrulev2 = size 20% 50%,class:^(virt-manager)$,title:^(Virtual Machine Manager)$ + windowrulev2 = move 5%% 10%,class:^(virt-manager)$,title:^(Virtual Machine Manager)$ + exec-once = ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1 exec-once = ${hyprctl} setcursor ${config.gtk.cursorTheme.name} 24 exec-once = ${change-wallpaper}