From e993e984958d668761684cc1a78bb8597e2faff8 Mon Sep 17 00:00:00 2001 From: Sense T Date: Thu, 29 Jun 2023 14:33:49 +0800 Subject: [PATCH] screenshot --- home/user/files/hyprland.conf | 3 +++ home/user/home.nix | 2 ++ 2 files changed, 5 insertions(+) diff --git a/home/user/files/hyprland.conf b/home/user/files/hyprland.conf index 006d01f..9d94629 100644 --- a/home/user/files/hyprland.conf +++ b/home/user/files/hyprland.conf @@ -167,6 +167,9 @@ bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK bind = , XF86MonBrightnessUP, exec, light -A 5 bind = , XF86MonBrightnessDown, exec, light -U 5 +# Screenshot +bind = , PRINT, exec, grim -g "$(slurp)" + # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow \ No newline at end of file diff --git a/home/user/home.nix b/home/user/home.nix index 0a8740a..9b7261f 100644 --- a/home/user/home.nix +++ b/home/user/home.nix @@ -16,6 +16,8 @@ gnumake42 wget axel + grim + slurp ]; sessionPath = [