From b7586c2cf1bec21799873ffb0e8698f358fa2e5e Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Fri, 17 Mar 2023 02:25:41 +0530 Subject: hypr: screenshot-keybind --- .config/hypr/hyprland.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/hypr') diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index e4d8748..4723ba4 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -117,7 +117,6 @@ bind = $MOD, E, exec, emacs bind = $MOD, R, exec, kitty -e ranger bindr= $MOD, D, exec, pkill tofi || tofi-run bind = $MOD SHIFT, M, exec, sp -bind =,Print,exec,grim #otherkeyb @@ -127,6 +126,8 @@ binde = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- & binde = ,XF86MonBrightnessUp, exec, brillo -s intel_backlight -A 4 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )" binde = ,XF86MonBrightnessDown, exec, brillo -s intel_backlight -U 4 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )" +bind = ,Print, exec, grim "$GRIM_DEFAULT_DIR/"pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png +bind = CTRL,Print, exec, grim -g "$(slurp)" $GRIM_DEFAULT_DIR/pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png #master-stack layout bind = $MOD, Return,layoutmsg, swapwithmaster -- cgit v1.2.3