diff options
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/linkhandler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler index a4904e1..c703eba 100755 --- a/.local/bin/linkhandler +++ b/.local/bin/linkhandler @@ -25,7 +25,7 @@ case "${1%/}" in curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" && exec xdg-open "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" > /dev/null 2>&1 & ;; -*.c|*.cpp|*.sh|*.txt|*.java|*.nix|*.lua) +*.c|*.cpp|*.sh|*.txt|*.java|*.nix|*.lua|*.py|*.toml) note "processing text" curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" && exec xdg-open "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" > /dev/null 2>&1 & |