From 154f9e3ea6b217013891b5b1d4010f0c1a088ad8 Mon Sep 17 00:00:00 2001 From: sudacode Date: Tue, 2 Dec 2025 18:48:58 -0800 Subject: [PATCH] update --- .config/hypr/hyprland.conf | 45 +++----------------------------------- 1 file changed, 3 insertions(+), 42 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index f7e274e..66e81d4 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -40,6 +40,7 @@ monitorv2 { } source = ~/.config/hypr/keybindings.conf +source = ~/.config/hypr/windowrules.conf source = ~/.config/hypr/macchiato.conf # unscale XWayland @@ -248,7 +249,8 @@ misc { font_family = JetBrainsMono Nerd Font } -# {{{ WORKSPACES +# {{{ WORKSPACES - HANDLED IN WAYBAR CONFIG +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # workspace = name:,monitor:DP-1 # workspace = 2,monitor:DP-1,defaultName: # workspace = 2,monitor:DP-1,persistent:false @@ -262,48 +264,7 @@ misc { # workspace = 10,monitor:DP-3,persistent:false # }}} - -############################## -### WINDOWS AND WORKSPACES ### -############################## - -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules - # windowrule = match:class my-window, border_size 10 -windowrule = float on, match:class discord -windowrule = float on, match:class mpv -windowrule = float on, match:class steam -windowrule = float on, match:class anki -windowrule = float on, match:class python, match:title Import -windowrule = workspace 10 silent, match:class discord -windowrule = workspace 9 silent, match:class steam -windowrule = workspace 8 silent, match:class anki -windowrule = match:float 1, match:class discord, center on -windowrule = match:float 1, match:class steam, center on -windowrule = size 2118 1182, match:class anki -# windowrule = opacity 0.88, match:class .* fullscreen:0 -windowrule = opacity 1.0 override, match:class mpv -windowrule = opacity 1.0 override, match:title (.*)asbplayer -windowrule = tile on, match:title (.*)asbplayer -windowrule = opacity 1.0 override, match:class ^(remote-viewer)$ -windowrule = opacity 1.0 override, match:class com.obsproject.Studio -windowrule = opacity 1.0 override, match:title (.*)(- YouTube(.*)) -windowrule = opacity 1.0 override, match:class zen, match:title (.*)YouTube TV(.*) -windowrule = opacity 1.0 override, match:class anki -# Ignore maximize requests from apps. You'll probably like this. -windowrule = suppress_event maximize, match:class .* -# Fix some dragging issues with XWayland -windowrule = no_focus on,match:class ^$,match:title ^$,match:xwayland 1,match:float 1,match:fullscreen 0,match:pin 0 - -# {{{ Screen sharing workaround: https://wiki.hyprland.org/Useful-Utilities/Screen-Sharing/#xwayland -windowrule = opacity 0.0 override, match:class ^(xwaylandvideobridge)$ -windowrule = no_anim on, match:class ^(xwaylandvideobridge)$ -windowrule = no_initial_focus on, match:class ^(xwaylandvideobridge)$ -windowrule = max_size 1 1, match:class ^(xwaylandvideobridge)$ -windowrule = no_blur on, match:class ^(xwaylandvideobridge)$ -windowrule = no_focus on, match:class ^(xwaylandvideobridge)$ -# }}} debug { disable_logs = true