From 497521dc3fe83e77319325f7152f92fd83008a49 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 4 Nov 2025 10:20:29 +0100 Subject: [PATCH] change screenshot dir --- modules/gnome/home.nix | 4 +++- modules/hyprland/home.nix | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/gnome/home.nix b/modules/gnome/home.nix index 928103b..e87d690 100644 --- a/modules/gnome/home.nix +++ b/modules/gnome/home.nix @@ -168,9 +168,11 @@ in documents = "${config.home.homeDirectory}/Documents"; download = "${config.home.homeDirectory}/Downloads"; + # Enable Pictures directory + pictures = "${config.home.homeDirectory}/Pictures"; + # Disable unwanted directories music = null; - pictures = null; videos = null; publicShare = null; templates = null; diff --git a/modules/hyprland/home.nix b/modules/hyprland/home.nix index ba6f1ad..42945ce 100644 --- a/modules/hyprland/home.nix +++ b/modules/hyprland/home.nix @@ -105,7 +105,7 @@ "hypridle" "waybar" "nm-applet --indicator" - "mkdir -p ~/Downloads/Screenshots" + "mkdir -p ~/Pictures/Screenshots" ]; # Input configuration @@ -260,9 +260,9 @@ ", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" # Screenshots - ", Print, exec, grimblast copysave area ~/Downloads/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" - "CTRL, Print, exec, grimblast copysave active ~/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 ~/Pictures/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