From 73164084949632d8cfe170f0bfe9fdcf12cc1f5c Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Fri, 20 May 2022 14:01:36 +0200 Subject: [PATCH] Fix firefox assignment in i3 Also re add documentation for debugging. --- home/windowManager/i3.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/windowManager/i3.nix b/home/windowManager/i3.nix index df15a3e..4690096 100644 --- a/home/windowManager/i3.nix +++ b/home/windowManager/i3.nix @@ -146,12 +146,13 @@ in { ]; }; + # For debugging, include class (https://i3wm.org/docs/userguide.html#command_criteria) + # also use bash tool "xprop" or "xwininfo" assigns = { "2:💶" = [ { class = "^time-tracking$"; } { class = "^mailhog$"; } - # TODO: Check why this does not work anymore - # { class = "^Firefox$"; } + { window_role = "^browser$"; } ]; "3:💬" = [ { class = "^chat$"; }