From 9bbcd7308b080399e19aae2013a9011f2bd20ca8 Mon Sep 17 00:00:00 2001 From: tomoron Date: Tue, 19 Nov 2024 18:25:54 +0100 Subject: [PATCH] add screenshots --- home.nix | 5 ++++- modules/hyprland.nix | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index fa978be..5e66b3f 100644 --- a/home.nix +++ b/home.nix @@ -6,7 +6,7 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2024/10/17 18:15:38 by tomoron #+# #+# # -# Updated: 2024/11/04 17:43:28 by tomoron ### ########.fr # +# Updated: 2024/11/19 18:22:41 by tomoron ### ########.fr # # # # **************************************************************************** # @@ -50,6 +50,9 @@ hyprlock python3 vlc + + grim + slurp ]; home.file = { diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 10fc04d..87f9cc2 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -6,6 +6,7 @@ wayland.windowManager.hyprland.settings = { "$mainMod" = "SUPER"; bind = [ + " , Print, exec, grim -t jpeg -g \"$(slurp)\" ~/screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg" "$mainMod, Return, exec, alacritty" "CTRL_ALT, Q, killactive," "SUPER_ALT, Q, exit,"