-
Notifications
You must be signed in to change notification settings - Fork 46
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
[REQUEST] window overview with images/icons #104
Comments
Just to clarify, you are talking about "window overview" but your description mentions a drun invocation. Did you mean On sway, I have just tried it and it shows the firefox icon just fine even though it is a native wayland window. Maybe it's an issue with hyprland not filling in the app_id in this case? See the code here rofi/source/modes/wayland-window.c Line 597 in 36621af
|
Hi! thanks for answering.
On Wed, Dec 6, 2023 at 5:28 PM lbonn wrote:
Just to clarify, you are talking about "window overview" but your
description mentions a drun invocation. Did you mean rofi -show window
-show-icons?
true.
On sway, I have just tried it and it shows the firefox icon just fine even
though it is a native wayland window.
Maybe it's an issue with hyprland not filling in the app_id in this case?
See the code here
https://github.com/lbonn/rofi/blob/36621af0e49e1272fcafb161e1dbf0c1345b394f/source/modes/wayland-window.c#L597
not really. Hyprland seems to handle the app_id right though I'm no Wayland
expert at all.
Just see the screenshot below and this:
hyprwm/Hyprland@2cd2f8b
|
To me it seems like a problem with
find -L "$wp_dir" -type f -printf "%P\n" |
while read -r wp; do
printf '%s\x00icon\x1f%s/%s\n' "$wp" "$wp_dir" "$wp"
done
full script is here and now its broken and instead of small thumbnails shows this, so i guess its stopped evaluating the icon paths properly |
@Seme4eg Right now I can only test on x11 but this works and shows some headphones icon on the latest dev commit:
Your screenshot looks a bit strange to me because it shows literal My guess is that it's a shell thing. I see that your script starts with $ dash -c 'printf "\x30\n"'
\x30 Try with bash |
And you are absolutely right, sir, very much my bad. Couldn't think that it would affect this. |
Before opening a feature request
What is the user problem or growth opportunity you want to see solved?
Window overview show only XWayland windows' icons
How do you know that this problem exists today? Why is this important?
Window overview should show window images or icons.
Who will benefit from it?
Wayland users
Rofi version (rofi -v)
Version: 1.7.5+wayland2
Configuration
none
Additional information
any smart hint for this?
Compositor: Hyprland.
The text was updated successfully, but these errors were encountered: