-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot apply blur to anyrun #146
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 |
Anyrun opens a fullscreen window then makes most of it transparent. This means any attempt to apply blurred transparency to anyrun blurs the whole screen. Other launchers like Tofi allow you to control the size of the opened window/layer so transparency blur is only applied to the actual launcher.
The text was updated successfully, but these errors were encountered: