change screenshot dir

This commit is contained in:
Yan Lin 2025-11-04 10:20:29 +01:00
parent b126d7093d
commit 497521dc3f
2 changed files with 7 additions and 5 deletions

View file

@ -168,9 +168,11 @@ in
documents = "${config.home.homeDirectory}/Documents"; documents = "${config.home.homeDirectory}/Documents";
download = "${config.home.homeDirectory}/Downloads"; download = "${config.home.homeDirectory}/Downloads";
# Enable Pictures directory
pictures = "${config.home.homeDirectory}/Pictures";
# Disable unwanted directories # Disable unwanted directories
music = null; music = null;
pictures = null;
videos = null; videos = null;
publicShare = null; publicShare = null;
templates = null; templates = null;

View file

@ -105,7 +105,7 @@
"hypridle" "hypridle"
"waybar" "waybar"
"nm-applet --indicator" "nm-applet --indicator"
"mkdir -p ~/Downloads/Screenshots" "mkdir -p ~/Pictures/Screenshots"
]; ];
# Input configuration # Input configuration
@ -260,9 +260,9 @@
", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" ", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
# Screenshots # Screenshots
", Print, exec, grimblast copysave area ~/Downloads/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png" ", Print, exec, grimblast copysave area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"
"SHIFT, Print, exec, grimblast copysave screen ~/Downloads/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png" "SHIFT, Print, exec, grimblast copysave screen ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"
"CTRL, Print, exec, grimblast copysave active ~/Downloads/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png" "CTRL, Print, exec, grimblast copysave active ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"
]; ];
# Mouse bindings # Mouse bindings