oxwm

https://git.tonybtw.com/oxwm.git git://git.tonybtw.com/oxwm.git

hm.nix: fix typo preventing focus window rule from working

Commit
994c4bbf1fac37aadc1a9799479225fb730a996c
Parent
a8df126
Author
Pascal0577 <pascalthederg@gmail.com>
Date
2026-02-19 00:56:49

Diff

diff --git a/hm.nix b/hm.nix
index d676cb0..c9c0c58 100644
--- a/hm.nix
+++ b/hm.nix
@@ -61,7 +61,7 @@
       ++ optional (rule.floating != null) ''floating = ${boolToString rule.floating}''
       ++ optional (rule.tag != null) ''tag = ${toString rule.tag}''
       ++ optional (rule.fullscreen != null) ''fullscreen = ${boolToString rule.fullscreen}''
-      ++ optional (rule.focus != null) ''focus = ${boolToString rule.fullscreen}''
+      ++ optional (rule.focus != null) ''focus = ${boolToString rule.focus}''
     );
   in "oxwm.rule.add({ ${fields} })";