From 9abcc5d28264c4fc8a681d46fc49c094b943853c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Wadstr=C3=B6m?= Date: Mon, 11 Jan 2021 08:21:15 +0100 Subject: [PATCH] Add printscreen shortcut and remove Albert --- .config/sway/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index 1539859..9fc3d2f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -53,6 +53,9 @@ bindsym --locked XF86AudioPlay exec playerctl play-pause bindsym XF86AudioNext exec playerctl next bindsym XF86AudioPrev exec playerctl previous +# Printscreen +bindsym Print exec grim -g "$(slurp)" -t png - | wl-copy -t image/png + # # Moving around: @@ -254,7 +257,6 @@ include ~/.config/sway/config.d/* # Autostart exec mako -exec albert exec nm-applet --indicator workspace 9