oxwm

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

Add window rule example with tag

Commit
cd4957ffac6429dfdf6d4693febe5c5310f9f019
Parent
2b7bda2
Author
Zif <Zif>
Date
2025-12-14 22:56:15

Diff

diff --git a/templates/config.lua b/templates/config.lua
index aba85dc..50bb4cb 100644
--- a/templates/config.lua
+++ b/templates/config.lua
@@ -145,6 +145,7 @@ oxwm.gaps.set_outer(5, 5)
 -- Examples (uncomment to use):
 oxwm.rule.add({ instance = "gimp", floating = true })                             
 -- oxwm.rule.add({ class = "firefox", title = "Library", floating = true })  
+-- oxwm.rule.add({ class = "firefox", tag = 2 })  
 -- oxwm.rule.add({ instance = "mpv", floating = true })                      
 
 -- To find window properties, use xprop and click on the window