• 0 Posts
  • 1 Comment
Joined 2 years ago
cake
Cake day: January 9th, 2024

help-circle
  • What’s your window manager?

    You can use grim+slurp to take screenshots. Scroll down to the Wayland section for a snippet:

    https://wiki.archlinux.org/title/Screen_capture

    I keep my desktop muted so I am not sure if it makes a sound or not. If you wrap the commands into a timer loop it will do what you’re looking for.

    For the window title you can likely use your window manager’s IPC calls to get the active window title or list of windows on a workspace. My wayland experience is limited to hyprland and if you haven’t found a solution when I get home from work I can post the jank utility I made in rust to output the data I needed for my Eww bar.