Apply the terminal tag to Omarchy's own terminal windows (#6561)
* Apply the terminal tag to Omarchy's own terminal windows Omarchy launches TUIs and its own terminal windows under dedicated app-ids (org.omarchy.btop, org.omarchy.terminal, TUI.float, ...), so the class never matched the terminal that drew the window and those windows went untagged. Also drop the tag's opacity rule, which stripped default-opacity only to re-apply the identical value. Themes still override through the tag. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * Match terminals by tag for universal clipboard shortcuts The binding kept its own list of terminal classes, so SUPER + C in a TUI window sent CTRL + C instead of CTRL + Insert. Read the terminal tag instead of duplicating the definition. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
0269fe0031
commit
d9bc38a926
@@ -1,3 +1,7 @@
|
||||
-- Define terminal tag to style them uniformly.
|
||||
o.window("(Alacritty|kitty|com.mitchellh.ghostty|foot|wezterm)", { tag = "+terminal" })
|
||||
o.window({ tag = "terminal" }, { tag = "-default-opacity", opacity = "0.985 0.96" })
|
||||
-- Define terminal tag so themes and bindings can single terminals out. Omarchy
|
||||
-- launches TUIs and its own terminal windows under dedicated app-ids
|
||||
-- (org.omarchy.btop, org.omarchy.terminal, TUI.float, ...), so match those too.
|
||||
o.window(
|
||||
"(Alacritty|kitty|com.mitchellh.ghostty|foot|wezterm|org\\.omarchy\\..*|TUI\\..*)",
|
||||
{ tag = "+terminal" }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user