diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2021-07-22 19:47:46 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2021-07-22 19:47:46 +1200 |
commit | b7d69271c193eea023afc5a11488adbf4c4af7b4 (patch) | |
tree | 814e0aed7877797b9c7390344a9ee9e89433a5b9 | |
parent | Use a Unicode-aware font for i3wm (diff) | |
download | dotfiles-b7d69271c193eea023afc5a11488adbf4c4af7b4.tar.gz dotfiles-b7d69271c193eea023afc5a11488adbf4c4af7b4.zip |
Add a short sleep before window snapping
I think there's a race condition with keypresses forcing the snap freeze
to stop, which delaying just a little seems to avoid.
This really needs to be broken up into multiple lines. I'll do that in
the next commit.
-rw-r--r-- | X/sxhkdrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ super + v urxvtcd -e "$VISUAL" super + shift + s - scrot --exec 'xclip -selection clipboard -target image/png -i $f ; mkdir -p "$$HOME"/screenshots && mv -- $f "$$HOME"/screenshots' --freeze --select + sleep 0.25 && scrot --exec 'xclip -selection clipboard -target image/png -i $f ; mkdir -p "$$HOME"/screenshots && mv -- $f "$$HOME"/screenshots' --freeze --select super + slash i3lock --color=#000000 --image ~/.i3/lock.png --nofork |