From 78f0afe517c63117464d4569325cebde126de7fe Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 14 Feb 2026 10:37:58 +0100 Subject: [PATCH] pinwheel: Fix window focus in `hyprland` --- hosts/pinwheel/modules/hyprland/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/pinwheel/modules/hyprland/default.nix b/hosts/pinwheel/modules/hyprland/default.nix index a2564b5..98733fe 100644 --- a/hosts/pinwheel/modules/hyprland/default.nix +++ b/hosts/pinwheel/modules/hyprland/default.nix @@ -103,6 +103,9 @@ in windowrule = border_size 0, match:float 0, match:workspace f[1] windowrule = rounding 0, match:float 0, match:workspace f[1] + # https://wiki.archlinux.org/title/Hyprland#Jetbrains_apps_focus_issues + windowrule = match:xwayland true, no_initial_focus on + exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP '';