aboutsummaryrefslogtreecommitdiff
path: root/X/sxhkdrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2021-07-22 19:47:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2021-07-22 19:47:46 +1200
commitb7d69271c193eea023afc5a11488adbf4c4af7b4 (patch)
tree814e0aed7877797b9c7390344a9ee9e89433a5b9 /X/sxhkdrc
parentUse a Unicode-aware font for i3wm (diff)
downloaddotfiles-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.
Diffstat (limited to 'X/sxhkdrc')
-rw-r--r--X/sxhkdrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/X/sxhkdrc b/X/sxhkdrc
index 31cd4144..5d7aa42b 100644
--- a/X/sxhkdrc
+++ b/X/sxhkdrc
@@ -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