diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-06 11:55:30 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-06 11:55:36 -0700 |
commit | 0d082403511cb82a06c5b9b8db2851e6f6fea840 (patch) | |
tree | 0d5b13a1180db7811dcd48f4d3c35dffcca96766 | |
parent | cc8a8c432ee5667ce78a1d2acfc4f588ac1a7db5 (diff) | |
download | dotfiles-0d082403511cb82a06c5b9b8db2851e6f6fea840.tar.gz |
add a Sway binding to take screenshots
-rw-r--r-- | .config/sway/config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config index 66ed4f3f..464b17d8 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -350,6 +350,9 @@ mode "C-i g-" { # connect to Debian's ftp-master server for ftpteam work bindsym f exec ~/src/dotfiles/scripts/desktop/sway-ftp-master , mode "default" + bindsym s mode "default", \ + exec grim -c ~/tmp/$(hostname -s)_$(date +%F_%H.%M.%S).png + bindsym x exec wdisplays , mode "default" bindsym Ctrl+g mode "default" |