I noticed you currently use vendor-specific code to take screenshots on Gnome and KDE and do not support any other DE. I currently use sway and it's a shame ksnip is not able to take screenshots there. In fact there is a cross-platform way of taking screenshots, which I discovered here: https://github.com/lupoDharkael/flameshot/issues/446 To quote that ticket: > The cross-platform way to take screenshots on Wayland is via [xdg-desktop-portal](https://github.com/flatpak/xdg-desktop-portal) (which also works outside of Flatpak). See https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.Screenshot.xml