add alias to open file, modify upfile script to use vern null point server instead
This commit is contained in:
parent
f14e30a495
commit
547543aef6
|
|
@ -46,6 +46,7 @@ alias \
|
|||
ec() {find ~/.config -type f | fzf | xargs -r $EDITOR ;}
|
||||
es() { cd ~/.local/bin; $EDITOR $(fzf) ;}
|
||||
ef() {fzf | xargs -r -I % $EDITOR % ;}
|
||||
of() {fzf | xargs -r -I % xdg-open % ; }
|
||||
colors() {
|
||||
for COLOR in {1..255}; do
|
||||
echo -en "\e[38;5;${COLOR}m"
|
||||
|
|
|
|||
|
|
@ -8,5 +8,6 @@ fi
|
|||
|
||||
[ -z "$file" ] && exit
|
||||
|
||||
curl -F"file=@$file" 0x0.st | xclip -sel c
|
||||
# curl -F"file=@$file" 0x0.st | xclip -sel c
|
||||
curl -F"file=@$file" 0.vern.cc | xclip -sel c
|
||||
notify-send "The url has been copied to your clipboard. $(xclip -sel c -o)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue