1
1
Fork 0

ghostty: fix window class not taking effect

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-15 15:53:39 -06:00
parent b057b79671
commit e89a712c9a
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 6 additions and 3 deletions

View file

@ -61,10 +61,13 @@ in {
"${toggle}" "${toggle}"
"--focus" "--focus"
"--type class" "--type class"
"--expression '^dropdown$'" "--expression '^.*dropdown$'"
"--workspace special:dropdown" "--workspace special:dropdown"
"--" "--"
"${ghostty} --class=dropdown"
#!! Must be valid GTK class
# https://github.com/ghostty-org/ghostty/issues/3336
"${ghostty} --class=gtk.dropdown"
]; ];
pip-switch = with config.custom; pip-switch = with config.custom;

View file

@ -191,7 +191,7 @@ in {
]; ];
dropdown = rules: [ dropdown = rules: [
(class "dropdown" rules) (class ".*dropdown" rules)
]; ];
editor = rules: [ editor = rules: [