Added file upload gui using transfer.sh.
This commit is contained in:
parent
108788c38e
commit
367c09300f
3
i38.sh
3
i38.sh
@ -346,6 +346,9 @@ fi)
|
|||||||
$(if command -v pidgin &> /dev/null ; then
|
$(if command -v pidgin &> /dev/null ; then
|
||||||
echo 'bindsym p exec $(command -v pidgin), mode "default"'
|
echo 'bindsym p exec $(command -v pidgin), mode "default"'
|
||||||
fi)
|
fi)
|
||||||
|
$(if command -v transfersh &> /dev/null ; then
|
||||||
|
echo 'bindsym t exec bash -c '"'"'fileName="$(yad --title "I38 Upload File" --file)" && url="$(transfersh "${fileName}" | tee >(yad --title "I38 - Uploading ${fileName##*/} ..." --progress --pulsate --auto-close))" && echo "${url#*saved at: }" | tee >(yad --title "I38 - Upload URL" --show-cursor --show-uri --button yad-close --sticky --text-info) >(xclip -selection clipboard)'"', mode \"default\""
|
||||||
|
fi)
|
||||||
# Restart orca
|
# Restart orca
|
||||||
bindsym Shift+o exec $(command -v orca) --replace, mode "default"
|
bindsym Shift+o exec $(command -v orca) --replace, mode "default"
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
|
Loading…
Reference in New Issue
Block a user