diff --git a/options/custom/desktops/hyprland/binds.nix b/options/custom/desktops/hyprland/binds.nix index c02d51e..c799e31 100644 --- a/options/custom/desktops/hyprland/binds.nix +++ b/options/custom/desktops/hyprland/binds.nix @@ -61,10 +61,13 @@ in { "${toggle}" "--focus" "--type class" - "--expression '^dropdown$'" + "--expression '^.*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; diff --git a/options/custom/desktops/hyprland/rules.nix b/options/custom/desktops/hyprland/rules.nix index 2f87d77..ec24ddd 100644 --- a/options/custom/desktops/hyprland/rules.nix +++ b/options/custom/desktops/hyprland/rules.nix @@ -191,7 +191,7 @@ in { ]; dropdown = rules: [ - (class "dropdown" rules) + (class ".*dropdown" rules) ]; editor = rules: [