qutebrowser: Make recently downloaded executable

Moved the qutebrowser userscript to open recently downloaded files
to be accessible as a normal shell script as well
(`recently-downloaded`).

Mapped this to Super+Shift+D in riverwm to be easily able to open
the most recent downloads from anywhere.

Double the default lines shown to 20.
This commit is contained in:
Marty Oehme 2023-08-08 11:29:55 +02:00
parent 7662c5b776
commit b58bd2767d
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
4 changed files with 6 additions and 2 deletions

View file

@ -38,4 +38,4 @@ c.aliases["taskadd"] = "spawn --userscript taskadd"
c.aliases["cookie-block"] = "spawn --userscript qute-cookie-block"
# open last downloads in dmenu-like
c.aliases["recent-downloads"] = "spawn --userscript open_download"
c.aliases["recent-downloads"] = "spawn --userscript recently-downloaded"

View file

@ -42,7 +42,7 @@ elif command -v rofi >/dev/null 2>&1; then
)}
elif command -v bemenu >/dev/null 2>&1; then
ROFI_CMD="bemenu"
ROFI_ARGS="${ROFI_ARGS:--il 10}"
ROFI_ARGS="${ROFI_ARGS:--il 20}"
fi
msg() {

View file

@ -0,0 +1 @@
../../../bin/recently-downloaded