use june's CDPATH tip and add foxes are allowed

https://text.causal.agency/013-hot-tips.txt if you are curious

MOD+z now sends screenshots to foxes.are.allowed.org instead of 0x0,
because foxes are very allowed.
This commit is contained in:
xfnw 2020-12-02 20:23:37 -05:00
parent c5a1658567
commit fad07ae5c5
2 changed files with 3 additions and 1 deletions

View file

@ -96,7 +96,7 @@ bindsym $mod+space focus mode_toggle
# take a screenshot
bindsym --release $mod+s exec "scrot -s -e 'curl -F\\"file=@$f\\" https://ttm.sh/ | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
bindsym $mod+shift+s exec "scrot -e 'curl -F\\"file=@$f\\" https://ttm.sh/ | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
bindsym --release $mod+z exec "scrot -s -e 'curl -F\\"file=@$f\\" https://0x0.st/ | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
bindsym --release $mod+z exec "scrot -s -e 'curl -F\\"file=@$f\\" https://foxes.are.allowed.org/ | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
bindsym --release $mod+x exec "scrot -s -e 'curl -F\\"file=@$f\\" https://xfnw.ttm.sh/u.php | xclip -selection clipboard; mv $f ~/Pictures/scrot/'"
# show titles

View file

@ -32,6 +32,8 @@ export TZ='America/New_York'
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export CDPATH=:~
# start the ssh agent
[[ -z $SSH_AGENT_PID ]] && eval $(ssh-agent)