Compare commits

...

2 Commits

Author SHA1 Message Date
xfnw 01b3b5b8e8 i3: add $mod+shift+z keybind 2023-12-08 22:03:50 -05:00
xfnw 610d922b78 obv: add a small sleep
seems to be a bit race-condition-y :|
2023-12-08 21:51:46 -05:00
2 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@ bindsym $mod+space focus mode_toggle
# take a screenshot
bindsym --release $mod+s exec "scrot -l mode=edge -s -e 'curl -F\\"file=@$f\\" https://0x0.st/ | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
bindsym $mod+z exec "scrot -l mode=edge -oF ~/screen.png"
bindsym $mod+shift+z exec "scrot -l mode=edge -F ~/screen.png -e 'cp $f ~/screen.png'"
bindsym $mod+shift+s exec "scrot -l mode=edge -e 'curl -F\\"file=@$f\\" https://0x0.st/ | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
#bindsym --release $mod+x exec "scrot -l mode=edge -s -e 'curl -F\\"file=@$f\\" https://xfnw.ttm.sh/u.php | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"

View File

@ -13,6 +13,7 @@ cd ~/.cache/obv
while inotifywait -e close_write ~/screen.png
do
sleep 0.1
idiff
tile
done