diff options
Diffstat (limited to 'stow/hyprland/.config/hypr/hyprland.conf')
| -rw-r--r-- | stow/hyprland/.config/hypr/hyprland.conf | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/stow/hyprland/.config/hypr/hyprland.conf b/stow/hyprland/.config/hypr/hyprland.conf index 28de3b6..091bb2a 100644 --- a/stow/hyprland/.config/hypr/hyprland.conf +++ b/stow/hyprland/.config/hypr/hyprland.conf @@ -348,25 +348,19 @@ bind = $MOD SHIFT, B, exec, foot -e btop ##screenlock bind = $MOD , L, exec, swaylock -#screenshot -#bind = ,Print, exec, IMG=pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png && grim "$GRIM_DEFAULT_DIR/""$IMG" && wl-copy < "$GRIM_DEFAULT_DIR/""$IMG" -#bind = CTRL,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" "$GRIM_DEFAULT_DIR/""$IMG" && wl-copy < "$GRIM_DEFAULT_DIR/""$IMG" -#bind = ALT ,Print, exec, flameshot gui $SS_DIR = /home/justsaumit/pix/Screenshots -# Full screen — Print or F10 -bind = , Print, exec, IMG="$SS_DIR/pic-full-$(date +%y-%m-%d--%H-%M-%S).png" && grim "$IMG" && wl-copy < "$IMG" && dunstify "Full screenshot" "$(basename $IMG)" -t 1500 -bind = , F10, exec, IMG="$SS_DIR/pic-full-$(date +%y-%m-%d--%H-%M-%S).png" && grim "$IMG" && wl-copy < "$IMG" && dunstify "Full screenshot" "$(basename $IMG)" -t 1500 +# Full screen - Print or F10 +bind = , Print, exec, IMG="$SS_DIR/pic-full-$(date +%y-%m-%d--%H-%M-%S).png" && grimblast save output "$IMG" && wl-copy < "$IMG" && dunstify "Full screenshot" "$(basename $IMG)" -t 1500 +bind = , F10, exec, IMG="$SS_DIR/pic-full-$(date +%y-%m-%d--%H-%M-%S).png" && grimblast save output "$IMG" && wl-copy < "$IMG" && dunstify "Full screenshot" "$(basename $IMG)" -t 1500 -# Region select — CTRL+Print or F11 -bind = CTRL ,Print, exec, IMG="$SS_DIR/pic-sel-$(date +%y-%m-%d--%H-%M-%S).png" && grim -g "$(slurp)" "$IMG" && wl-copy < "$IMG" && dunstify "Region screenshot" "$(basename $IMG)" -t 1500 -bind = $MOD SHIFT,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the region taken" "$IMG" -t 1000 # screenshot of a region -bind = ,F11, exec, IMG="$SS_DIR/pic-sel-$(date +%y-%m-%d--%H-%M-%S).png" && grim -g "$(slurp)" "$IMG" && wl-copy < "$IMG" && dunstify "Region screenshot" "$(basename $IMG)" -t 1500 +# Region select - CTRL+Print or F11 +bind = CTRL,Print, exec, IMG="$SS_DIR/pic-sel-$(date +%y-%m-%d--%H-%M-%S).png" && grimblast save area "$IMG" && wl-copy < "$IMG" && dunstify "Region screenshot" "$(basename $IMG)" -t 1500 +bind = , F11, exec, IMG="$SS_DIR/pic-sel-$(date +%y-%m-%d--%H-%M-%S).png" && grimblast save area "$IMG" && wl-copy < "$IMG" && dunstify "Region screenshot" "$(basename $IMG)" -t 1500 -# Flameshot (annotate/edit) — ALT+Print or F12 -bind = ALT, Print, exec, flameshot gui -bind = , F12, exec, flameshot gui -bind = CTRL,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the region taken" "$IMG" -t 1000 # screenshot of a region +# Annotate — ALT+Print or F12 +bind = ALT, Print, exec, grimblast save area - | satty -f - +bind = , F12, exec, grimblast save area - | satty -f - #otherkeyb bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && [[ "$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep MUTE)" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234 |
