summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-05-17 23:12:13 +0530
committerkrolxon <krolyxon@tutanota.com>2025-05-17 23:12:13 +0530
commit547543aef6e8e472a9b1613d4c5f2ce5037b85fa (patch)
tree4f9fe4399e795063fb79c318c8a2eee87e361c37
parentf14e30a4950a95dffc75170bfb7dd1d25c439cbc (diff)
add alias to open file, modify upfile script to use vern null point server instead
-rw-r--r--.config/shell/aliasrc1
-rwxr-xr-x.local/bin/upfile3
2 files changed, 3 insertions, 1 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index fcfe922..61f9094 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -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"
diff --git a/.local/bin/upfile b/.local/bin/upfile
index c373eb0..78c0321 100755
--- a/.local/bin/upfile
+++ b/.local/bin/upfile
@@ -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)"