From 39e7e004066ee97eeff8089128f5799a91d7e6cc Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 20 May 2021 20:15:18 +0200 Subject: [PATCH] chore(sway): add comments to grim bindings --- .config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index abd0994..81e5e6a 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -200,8 +200,11 @@ assign [class="vlc"] M bindsym { + # screenshot of all outputs print exec grim $(xdg-user-dir PICTURES)/screenshots/grim-$(date +'%Y-%m-%dT%H-%M-%S').png + # screenshot of an area Shift+print exec grim -g "$(slurp)" - | wl-copy + # screenshot of a window Control+print exec winprint.sh # colour picker Control+Shift+print exec grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt: | wl-copy