From e33d38652138856a847772570ece5e24156bef2a Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sat, 17 Feb 2024 22:54:47 +0100 Subject: [PATCH] Update window rules --- home/.config/hypr/window_rules.conf | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/home/.config/hypr/window_rules.conf b/home/.config/hypr/window_rules.conf index 21acc0e..ddb2ee5 100644 --- a/home/.config/hypr/window_rules.conf +++ b/home/.config/hypr/window_rules.conf @@ -1,4 +1,7 @@ -# Assigned workspaces +########################### +### ASSIGNED WORKSPACES ### +########################### + windowrulev2 = workspace 2, class:^(firefox)$ windowrulev2 = workspace 4, class:^(discord)$ windowrulev2 = workspace 4, class:^(WebCord)$ @@ -6,17 +9,27 @@ windowrulev2 = workspace 5, class:^(Spotify)$ windowrulev2 = workspace 6, class:^(Stremio)$ windowrulev2 = workspace 6, class:^(com.stremio.stremio)$ -# Idle inhibit rules +####################### +### IDLE INHIBITION ### +####################### + windowrulev2 = idleinhibit focus, class:^(Stremio)$ windowrulev2 = idleinhibit focus, class:^(com.stremio.stremio)$ windowrulev2 = idleinhibit focus, class:^(mpv)$ windowrulev2 = idleinhibit focus, class:^(firefox)$,title:^(.+ - YouTube — Mozilla Firefox)$ +windowrulev2 = idleinhibit focus, class:^(firefox)$,title:^(Picture-in-Picture)$ + +################################ +### CORRECT SIZE / AUTO TILE ### +################################ -# Give apps proper size windowrulev2 = size 800 550, class:^(qalculate-gtk)$ windowrulev2 = tile, class:^(Spotify)$ -# Auto-float mode +################## +### AUTO FLOAT ### +################## + windowrulev2 = float, class:^(Lxappearance)$ windowrulev2 = float, class:^(Rofi)$ windowrulev2 = float, class:^(feh)$ @@ -26,6 +39,7 @@ windowrulev2 = float, class:^(file-roller)$ windowrulev2 = float, class:^(qalculate-gtk)$ windowrulev2 = float, class:^(com.github.wwmm.easyeffects) windowrulev2 = float, class:^(opensnitch_ui)$ +windowrulev2 = float, class:^(Brave-browser)$,title:^(_crx_.+)$ ## Float firefox windows (like bookmark menus, or some extension windows) windowrulev2 = float, class:^(firefox)$,title:^(Revert Bookmarks)$ @@ -33,6 +47,7 @@ windowrulev2 = float, class:^(firefox)$,title:^(Library)$ windowrulev2 = float, class:^(firefox)$,title:^(Extension: \(uBlock Origin\)) windowrulev2 = float, class:^(firefox)$,title:^(Firefox — Sharing Indicator)$ windowrulev2 = float, class:^(firefox)$,title:^(Opening .+)$ +windowrulev2 = float, class:^(firefox)$,title:^$ ## Float some pcmanfm windows windowrulev2 = float, class:^(pcmanfm-qt)$,title:^(Mount)$