forked from Shinonome/dots-hyprland
108e0a8c78
Even if ~/Videos exists, `xdg-user-dir VIDEOS` requires xdg-user-dirs-update to be run first. Some people just mkdir their desired xdg-user-dir directories. And so they won't have $HOME/.config/user-dirs.dirs for `xdg-user-dir VIDEOS` to work. Now instead if there is no user-dirs.dirs match for VIDEOS then $HOME/Videos/ is used instead. You can now cancel the recording region, which exits the script. Previously if you pressed escape when choosing the recording region, record-script would record the fullscreen. This resulted in me accidentally recording my entire screen for hours.
scripts folder
- For ARM devices, you have to compile C++ files yourself. If there are none, yippee
- It is advised to use services instead of listening/polling scripts, so everything here are just scripts for actions