feat(hyprcapture): include XDG user dir configuration to hyprcapture module

This commit is contained in:
ooks-io 2024-04-01 18:22:05 +13:00
parent 00ee96f2df
commit 0f405d3ca9
4 changed files with 50 additions and 0 deletions

View file

@ -14,6 +14,12 @@ in
ooks-scripts.packages.${pkgs.system}.hyprrecord
];
# Add XDG user directories that the scripts use
xdg.userDirs.extraConfig = {
XDG_RECORDINGS_DIR = "${config.xdg.userDirs.videos}/Recordings";
XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
};
wayland.windowManager.hyprland.settings.bind = [
# Screenshot binds
", Print, exec, grimblast --notify --cursor copysave area"