Window rule to keep window hidden on launch
I had this working earlier and then I don't know what changed but it wont play ball, Ive checked others examples and the wiki, and it seems right so wanted to see if there is something obvious I am missing.
xwininfo has these entries for firefox
0xc00063 "Firefox": ("firefox" "OIwin") 200x200+0+0 +0+0 0xc0002c "Open WebUI — Mozilla Firefox": ("Navigator" "OIwin") 889x1090+1019+53 +1019+53
Here is a couple of iterations of the rule, just trying to get it to work before I make it any more complicated...
bspc rule -a "OIwin" hidden=on bspc rule -a "OIwin:*" hidden=on bspc rule -a "Olwin:Navigator" hidden=on bspc rule -a "Olwin:firefox" hidden=on
Here is the Autolaunch Rule. Which does launch the window and the right URL so this piece seems to work.
Launch Firefox In Kiosk Mode for OI
firefox --kiosk --class=OIwin "http://XXX.XXX.XXX.XXX:3030" &
hey there
bspc rule -a "Olwin:Navigator" hidden=on
bspc rule -a "OIwin" hidden=on
either of those would work. i wonder if the issue you are having is due to how firefox "works"?
--class will only affect the initial launching of an instance (all of the running instance's windows will share the same wm class regardless).
i think as it stands you pretty much need to use a firefox profile for this.
Think you might be right my dude. I ended up rolling my own simple electron app to do the job and didnt have half the pain :)
On Sat, Mar 22, 2025 at 2:10 PM ortango @.***> wrote:
hey there
bspc rule -a "Olwin:Navigator" hidden=on bspc rule -a "OIwin" hidden=on
either of those would work. i wonder if the issue you are having is due to how firefox "works"?
--class will only affect the initial launching of an instance (all of the running instance's windows will share the same wm class regardless).
i think as it stands you pretty much need to use a firefox profile for this.
— Reply to this email directly, view it on GitHub https://github.com/baskerville/bspwm/issues/1522#issuecomment-2745394403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFMBKZVOFU2FQEKIFLPQXG32VWRQDAVCNFSM6AAAAABZO7Q6FOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBVGM4TINBQGM . You are receiving this because you authored the thread.Message ID: @.***> [image: ortango]ortango left a comment (baskerville/bspwm#1522) https://github.com/baskerville/bspwm/issues/1522#issuecomment-2745394403
hey there
bspc rule -a "Olwin:Navigator" hidden=on bspc rule -a "OIwin" hidden=on
either of those would work. i wonder if the issue you are having is due to how firefox "works"?
--class will only affect the initial launching of an instance (all of the running instance's windows will share the same wm class regardless).
i think as it stands you pretty much need to use a firefox profile for this.
— Reply to this email directly, view it on GitHub https://github.com/baskerville/bspwm/issues/1522#issuecomment-2745394403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFMBKZVOFU2FQEKIFLPQXG32VWRQDAVCNFSM6AAAAABZO7Q6FOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBVGM4TINBQGM . You are receiving this because you authored the thread.Message ID: @.***>
-- Regards
Karl Fox US2003120104