From 94de238cd50ddf66db0fca7eca8a093c4d35424a 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 66fa308..9826e68 100644 --- a/modules/home/wm/i3/default.nix +++ b/modules/home/wm/i3/default.nix @@ -136,7 +136,7 @@ in inherit modifier; criteria = [ - { class = "^tridactyl_editor$"; } + { title = "^tridactyl_editor$"; } { class = "^Blueman-.*$"; } { title = "^htop$"; } { class = "^Thunderbird$"; instance = "Mailnews"; window_role = "filterlist"; }