From c68102a8258676f9740c5ae08af9714c6fdae93e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 29 Jul 2022 03:23:38 -0400 Subject: [PATCH] sway: Add screenshot keybind At some point I added this but never committed it. Might as well do that now before I remove sway entirely. --- sway/.config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 40891dea..fde058f3 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -36,6 +36,9 @@ input "1:1:AT_Translated_Set_2_keyboard" { # Toggle waybar bindsym $mod+o exec killall -SIGUSR1 waybar + # Screenshot the entire screen + bindsym $mod+p exec grim ~/$(date +%F_%H%M%S).png + # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. # Despite the name, also works for non-floating windows.