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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LSFKDatumRZHB8zqk5CP5C
This commit is contained in:
David Heinemeier HanssonandClaude Fable 5.1 committed 2026-09-13 17:05:40 +02:00
1 parent 6a89a39967
commit 9ca462b153
1 file changed
+3 -1
+3 -1
View File
@@ -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" })