Commit Graph

14 Commits

Author SHA1 Message Date
tinywrkb 2d44db28e2 userscripts/open_download: Wait for xdg-open exit code 2022-01-12 15:23:23 +02:00
tinywrkb d7a4c3a24d userscripts/open_download: Flatpak compatibility 2022-01-12 15:23:02 +02:00
Florian Bruhin 7961cf7355 RIP Freenode 2021-05-26 09:34:37 +02:00
Eliran Gonen 1b850f9549
typo 2019-04-30 01:14:12 +03:00
Florian Bruhin bc3e1b316d Use "command -v" instead of "which" in bash scripts
shellcheck recently added SC2330 checking for this. "which" is non-standard, and
not guaranteed by POSIX to have a meaningful exit status, while "command -v" is
specified by POSIX: https://stackoverflow.com/q/592620
2018-02-27 06:23:00 +01:00
François Chavant 31710b7045 Trivial fixes for shellcheck warnings 2017-12-02 19:37:20 +01:00
François Chavant 595a53ad3b Apply patch from #1697 2017-12-02 19:37:18 +01:00
Florian Bruhin 0cdd3ff82f Update some more references to old config options 2017-07-04 16:46:02 +02:00
Kevin Velghe 0f07198271 Don't pass 2 arguments to shebang
On most platforms (according to shellcheck), you can't pass two
arguments in a shebang. I.e. on Debian you get:
/usr/bin/env: ‘bash -e’: No such file or directory
2016-07-26 11:48:26 +02:00
Florian Bruhin dfbd31f35f Use /usr/bin/env shebang for bash userscripts
See #1665
2016-07-20 11:06:35 +02:00
Jan Verbeek cc67dba9f1 Add and use $QUTE_DATA_DIR, $QUTE_DOWNLOAD_DIR
Also fix a few small issues in the userscripts like unquoted variables
and trailing whitespace.
2016-07-01 15:53:21 +02:00
Thorsten Wißmann 855f8402c6 open_download: Warn if download dir is empty 2015-09-17 10:32:26 +02:00
Thorsten Wißmann 9e25e3b96b open_download: Allow download dir to be a symlink 2015-09-17 10:32:26 +02:00
Thorsten Wißmann b8f200b370 Add open_download userscript 2015-09-17 10:32:17 +02:00