Update formatting.

This commit is contained in:
CronyAkatsuki 2023-11-04 22:03:43 +01:00
parent 41754e8ad1
commit e1c508c53b
16 changed files with 287 additions and 278 deletions

View file

@ -5,8 +5,8 @@
file=$(fd . "$HOME" --type f --hidden --color=never --exclude ".git" | $DMENU -l 15)
[ -z "$file" ] && exit
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
curl -F "file=@$file" "https://upfast.cronyakatsuki.xyz" | wl-copy -n
curl -F "file=@$file" "https://upfast.cronyakatsuki.xyz" | wl-copy -n
else
curl -F "file=@$file" "https://upfast.cronyakatsuki.xyz" | xclip -selection clipboard
curl -F "file=@$file" "https://upfast.cronyakatsuki.xyz" | xclip -selection clipboard
fi
notify-send "Dmenu Share" "Ready to share"