10:13emersion: new async flip uAPI addition got sent: https://patchwork.freedesktop.org/series/140935/
11:11King_DuckZ: hey all, idk if it's a wayland issue tbh but using kde+wayland, I'm on account user_a, I `su - user_b` and want to `ssh server` from there, I keep getting an "agent refused operation" error, I'm also unable to open any program with a gui
11:11King_DuckZ: I tried `xhost +localhost` which I found online, it doesn't seem to do much
11:30King_DuckZ: sorry it's not kde that I'm using right now, it's hyprland, kde is what I normally use for user_b, but that's irrelevant
11:40King_DuckZ: I tried a variation of the waypipe snippet here https://lemmy.world/post/10660985 and it's working from within a subshell, but is there a more straightforward way?
11:43King_DuckZ: and X programs such as git gui still don't work :(
12:27soreau: since I couldn't really find what I wanted, I wrote a client using pywayland and accuweather api key so that it displays time and weather: https://imgur.com/pKM6IAs
12:29soreau: (I chose the weather service because it has an open icon set, with corresponding data to identify which to pick)
12:30soreau: to drive it, I use a thread in a loop to write on eventfd's and a custom epoll event loop
12:34soreau: there aren't many pywayland examples I could find but I've also written this with it, before: https://github.com/soreau/wf-info/blob/master/src/client/qt/gui.py
12:34soreau: but for the time/weather applet, I used wlshm directly without a tk
12:36soreau: so quick question, is it 'ok' to reuse a single wl_buffer and not destroy it on release?
12:36vyivel: yes
12:36vyivel: that's the idea, even
12:36soreau: I noticed simple-shm doing all kinda of buffer selection antics and couldn't really understand why
12:36soreau: vyivel: great, thank you