From 8e0ea3593c71bcf0c239b4e5742761b7cfa016bc Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 19 Mar 2026 20:01:20 +0000 Subject: [PATCH] home: firefox: tridactyl: refactor editor float Ghostty *needs* a specific format for its `--class`, but not for its `--title`. --- modules/home/firefox/tridactyl/default.nix | 2 +- modules/home/wm/i3/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home/firefox/tridactyl/default.nix b/modules/home/firefox/tridactyl/default.nix index 11e5c80..6fcf8ce 100644 --- a/modules/home/firefox/tridactyl/default.nix +++ b/modules/home/firefox/tridactyl/default.nix @@ -25,7 +25,7 @@ in # Use my configured terminal term # Make it easy to pick out with a window class name - "--class tridactyl_editor" + "--title=tridactyl_editor" # Open vim with the cursor in the correct position vimCommandLine ]; diff --git a/modules/home/wm/i3/default.nix b/modules/home/wm/i3/default.nix index 564aead..f2dd051 100644 --- a/modules/home/wm/i3/default.nix +++ b/modules/home/wm/i3/default.nix @@ -123,7 +123,7 @@ in inherit modifier; criteria = [ - { class = "^tridactyl_editor$"; } + { title = "^tridactyl_editor$"; } { class = "^Blueman-.*$"; } { title = "^htop$"; } { class = "^Thunderbird$"; instance = "Mailnews"; window_role = "filterlist"; }