From ac8c58ca839a506cc7f66d7d2251d1465499f2f0 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Tue, 30 Nov 2021 16:09:01 +0300 Subject: [PATCH] Add keybinding to use swappy for screenshots --- config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/sway/config b/config/sway/config index 6b75219..867e51e 100644 --- a/config/sway/config +++ b/config/sway/config @@ -137,6 +137,9 @@ bindsym $ctrl+Shift+1 exec --no-startup-id $shot --notify copy output bindsym $ctrl+Shift+2 exec --no-startup-id $shot --notify copy window bindsym $ctrl+Shift+3 exec --no-startup-id $shot --notify copy area +# Call swappy +bindsym $mod+Shift+s exec grim -g "$(slurp)" - | swappy -f - + # Start a terminal bindsym $mod+Return exec $term