summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)"