Cannot apply blur to anyrun
ClaireNeveu opened this issue · comments
You should be able to achieve positioning without fullscreen by anchoring to all four edges and then setting the margins from those edges.
See https://docs.rs/gtk-layer-shell/0.8.0/gtk_layer_shell/trait.LayerShell.html#method.set_anchor and https://docs.rs/gtk-layer-shell/0.8.0/gtk_layer_shell/trait.LayerShell.html#method.set_layer_shell_margin
Anyrun formerly used this way of anchoring to an edge on the display, but I changed it to use this method to allow for more freedom with positioning the window and more specifically to make the centered mode more feasible (with the anchoring method, centering with a variable window size, as Anyrun has, becomes incredibly jarring with the input field shifting as the results change)
FWIW I hacked together a kick and dirty POC and the input field doesn't shift at all when the results change.
Out of curiosity (I'd like to steal borrow the transparency CSS), what's your config for the blur effect? I'm not a CSS wizard, despite the name.