From 9ca462b153637bd28d749bc491a2e72e139e2993 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 13 Sep 2026 17:05:40 +0200 Subject: [PATCH] Match 1Password's new window class so it floats again 1Password 8.12 changed its app id from "1Password" to "com.onepassword.OnePassword" (its .desktop file now declares that as StartupWMClass). Our window rule only matched the old name, so the main window came up tiled and lost the no_screen_share protection. Match both forms so older installs keep working. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01LSFKDatumRZHB8zqk5CP5C --- default/hypr/apps/1password.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/default/hypr/apps/1password.lua b/default/hypr/apps/1password.lua index d57bf651..15683599 100644 --- a/default/hypr/apps/1password.lua +++ b/default/hypr/apps/1password.lua @@ -1 +1,3 @@ -o.window("^(1[p|P]assword)$", { no_screen_share = true, tag = "+floating-window" }) +-- 1Password 8.12 renamed its app id from "1Password" to the reverse-DNS form, +-- so match both to keep older installs floating too. +o.window("^(1[pP]assword|com\\.onepassword\\.OnePassword)$", { no_screen_share = true, tag = "+floating-window" })