add alias to open file, modify upfile script to use vern null point server instead

This commit is contained in:
krolxon 2025-05-17 23:12:13 +05:30
parent f14e30a495
commit 547543aef6
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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)"