From 04449e1477d5e571c4bd6984ee6efd06beeef8f5 Mon Sep 17 00:00:00 2001 From: TheEdgeOfRage Date: Sun, 4 Feb 2024 20:53:04 +0100 Subject: [PATCH] Map shift-print to grimshot --- dot_config/sway/config.tmpl | 2 +- dot_zprofile.tmpl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dot_config/sway/config.tmpl b/dot_config/sway/config.tmpl index 05dfeaf..6895703 100644 --- a/dot_config/sway/config.tmpl +++ b/dot_config/sway/config.tmpl @@ -170,7 +170,7 @@ bindsym XF86AudioPrev exec "playerctl-wrapper previous" # Screenshot controls bindsym Print exec "pyazo --no-save" -bindsym Shift+Print exec "maim /home/pavle/pictures/screenshot.png" +bindsym Shift+Print exec "grimshot save active /home/pavle/pictures/screenshot.png" bindsym $mod+Print exec "pyazo -d" # Additional bindings diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl index f8a7334..2cc4f10 100644 --- a/dot_zprofile.tmpl +++ b/dot_zprofile.tmpl @@ -24,7 +24,6 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh" if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]]; then export MOZ_ENABLE_WAYLAND="1" export XDG_SESSION_TYPE=wayland - export XDG_CURRENT_DESKTOP=sway export QT_QPA_PLATFORM=wayland-egl fi