ptazithos / glazewm-extra

This repository provides additional features for GlazeWM.
MIT License
31 stars 1 forks source link

[Feature] Exclude windows from transparency and title bar removal #4

Closed Lilith-In-Starlight closed 3 months ago

Lilith-In-Starlight commented 4 months ago

This has merely aesthetic usecases. It would be good to have a way to exclude some windows from the transparency feature, since, for example, a terminal may have a transparent background and I might not want it to look more transparent.

ptazithos commented 3 months ago

Done. See the new config:

# Rules applied for every windows once the window creates.
[[window_rules]]
command = "set title false"
match_process_name = ".*"

# Rules applied for the focused window when focus changes.
[[focused_window_rules]]
command = "set translucent 255"
match_process_name = ".*"

# Rule applied for unfocused windows when focus change.
[[unfocused_window_rules]]
command = "set translucent 220"
match_process_name = ".*"

Except match_process_name, match_class_name and match_title are also available.