1
0
forked from extern/nix-config

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.
This commit is contained in:
Donovan Glover 2022-07-29 03:23:38 -04:00
parent 3ad971ebaa
commit c68102a825
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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.