commit 02a2d2aee2ebc83c28b04123ab02f6f0626ce6e6
parent b78be70297bf64285a03f18da84b95eeeb633d27
Author: Peter <peter@minskio.co.uk>
Date: Wed, 11 Mar 2026 15:06:14 +0000
Add screenshot functionality to hyprland
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/common/hyprland.nix b/common/hyprland.nix
@@ -2,10 +2,12 @@
{
environment.systemPackages = with pkgs; [
+ grim
hyprcursor
hypridle
hyprland
seatd
+ slurp
swayimg
tofi
wl-clipboard
diff --git a/home/hyprland.nix b/home/hyprland.nix
@@ -153,6 +153,8 @@
"SUPER SHIFT, 0, movetoworkspace, 10"
"SUPER, mouse_down, workspace, e+1"
"SUPER, mouse_up, workspace, e-1"
+ ", Print, exec, grim"
+ "ALT, Print, exec, grim -g ''\"$(slurp)\""
];
bindm = [