aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/home/hyprland.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/share/home/hyprland.nix b/share/home/hyprland.nix
index 57d591a..ba4aa0b 100644
--- a/share/home/hyprland.nix
+++ b/share/home/hyprland.nix
@@ -56,6 +56,11 @@
binde =, XF86MonBrightnessUp, exec, brightnessctl set +5%
binde =, XF86MonBrightnessDown, exec, brightnessctl set 5%-
+ # Screenshotting
+ # My stupid laptop outputs these three key codes when the PrtSc key is
+ # pressed instead of using just one code like any sane device would
+ bind = SUPER SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
+
input {
# focus change on cursor move
follow_mouse = 1
@@ -68,7 +73,7 @@
'';
};
- home.packages = with pkgs; [ brightnessctl wireplumber ];
+ home.packages = with pkgs; [ brightnessctl wireplumber grim slurp wl-clipboard ];
services.dunst.enable = true;
programs.rofi.enable = true;
}