diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-09-24 20:36:04 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-09-24 20:36:04 +0300 |
commit | 805c951522bc5063849b51a729b08bfdf16168df (patch) | |
tree | 302b1842142b6b451a7b0a2124e0e1769dbc4816 /upload | |
parent | c702b3c1d5420be981f67cdc40d62052df87563c (diff) |
Adding X11, zsh, nvtop, dmenu and some other tools for wallpapers,
power menus, uploading simple text/binary files.
Changes to be committed:
new file: X11/Xresources
new file: X11/xinit
new file: bmenu
new file: dmenu.conf
new file: nvtop/interface.ini
new file: pmenu
new file: upload
new file: zsh/aliases
new file: zsh/env
new file: zsh/zshrc
Diffstat (limited to 'upload')
-rwxr-xr-x | upload | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#!/bin/bash + +set -e + +if [ "$1" = "" ];then echo "No args"; exit; fi + +TO_UPLOAD_FILE="$1" + +RETURN_LINK=$(curl -F "file=@$TO_UPLOAD_FILE" https://0x0.st) + +echo $RETURN_LINK | xsel -b +echo $RETURN_LINK |