Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemy.lol

Is it possible to save screenshots to a specific folder based on focused application?

Hello! I wanted to make some order in my screenshots, it would be extremely helpful if I could define defaults based on the app that is currently focused when taking the screenshot, if that's at all possible given Wayland's restrictions.
Do you know if there's a way, I haven't found any setting like that in Spectacle, but maybe there's some kind of workaround?

Edit: to add to @[email protected]'s solution, a few tweaks to make it a little easier to handle:

  1. If you want the actual screenshots to be placed elsewhere, you can create a symbolic link to that path with the name of the directory that is generated when you save the screenshot, e.g. I use it for a game, I tried to save a screenshot of it and it created a directory named "Genshin Impact", so I replaced that with a symlink to where I want it to be ("Pictures/Games/Genshin Impact/Screenshots")
  2. Since the title is only added when you take an "Active Window" screenshot, you can trigger it with Meta+Print Screen and as a bonus the screenshot is automatically saved with this shortcut, without needing to change other settings
View original on lemy.lol
13

2 replies

feddit.org

afaik you can set a partial path to the filename for a new screenshot in spectacle?

so for your usecase: se the Filename: /%T/Screenshot_%d.png

13

Oh I hadn't noticed that option, thanks! I think it'll work pretty well, though I will have to stay within a top level Screenshots directory, it's already a big improvement

3

You reached the end

Is it possible to save screenshots to a specific folder based on focused application? | Spyke