end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.1k stars 201 forks source link

[Issue] Screen recording doesn't work unless ~/Videos folder exists #489

Closed b4shful closed 1 month ago

b4shful commented 1 month ago

Screen recording using one of the default shortcuts (e.g CTRL+ALT+R) does not work (no notification or anything, it does nothing) unless the ~/Videos folder already exists.

Reproduction:

  1. Ensure your home directory does not have a ~/Videos folder
  2. Attempt to take a screen recording using CTRL+ALT+R (It does nothing)
  3. Create a ~/Videos directory (e.g mkdir ~/Videos)
  4. Take a screen recording using CTRL+ALT+R to start and stop
  5. Notification appears and screen recording works as expected

This behaviour is not the same as the screenshot functionality (CTRL+PrintScreen) which creates a ~/Pictures directory to save the screenshot into even if it doesn't yet exist.

end-4 commented 1 month ago

made the script create that folder i also added the xdg-user-dirs package just in case other stuff are like this too (maybe ~/Pictures)