switch nullpointers again

This commit is contained in:
xfnw 2022-11-07 19:20:36 -05:00
parent a25a23e6e4
commit c6e2be036c
2 changed files with 6 additions and 7 deletions

View File

@ -104,9 +104,8 @@ bindsym $mod+space focus mode_toggle
#bindsym $mod+a focus parent
# take a screenshot
bindsym --release $mod+s exec "scrot -l mode=edge -s -e 'curl -F\\"file=@$f\\" https://va.furryplace.eu/ | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
bindsym $mod+shift+s exec "scrot -l mode=edge -e 'curl -F\\"file=@$f\\" https://va.furryplace.eu/ | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
bindsym --release $mod+z exec "scrot -l mode=edge -s -e 'curl -F\\"file=@$f\\" https://va.furryplace.eu/ | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
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+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/'"

8
.zshrc
View File

@ -2703,7 +2703,7 @@ function xtrename () {
zpst () { curl -F'file=@-' https://va.furryplace.eu }
zpst () { curl -F'file=@-' https://0x0.st }
# upload to ttm
function zup () {
@ -2727,7 +2727,7 @@ function zup () {
print "curl is not available, but mandatory for ${PN}. Aborting."
return 1
fi
api='https://va.furryplace.eu/'
api='https://0x0.st/'
curl -F"file=@${url}" $api
}
@ -2757,7 +2757,7 @@ function zpost () {
print "curl is not available, but mandatory for ${PN}. Aborting."
return 1
fi
api='https://va.furryplace.eu/'
api='https://0x0.st/'
curl -F"url=${url}" $api
}
@ -2790,7 +2790,7 @@ function zurl () {
print "curl is not available, but mandatory for ${PN}. Aborting."
return 1
fi
api='https://va.furryplace.eu/'
api='https://0x0.st/'
curl -F"shorten=${url}" $api
}