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:
parent
7662c5b776
commit
b58bd2767d
4 changed files with 6 additions and 2 deletions
|
@ -79,6 +79,9 @@ riverctl map normal $mod+Shift P spawn "pass-pick"
|
|||
# File upload
|
||||
riverctl map normal $mod+Shift U spawn "$term -e --class float sharefile | xargs notify-send"
|
||||
|
||||
# Open recent downloads
|
||||
riverctl map normal $mod+Shift D spawn "recently-downloaded"
|
||||
|
||||
# # Screenshot
|
||||
riverctl map normal None Print spawn "screenshot"
|
||||
riverctl map normal Shift Print spawn "screenshot | sharefile -"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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() {
|
|
@ -0,0 +1 @@
|
|||
../../../bin/recently-downloaded
|
Loading…
Reference in a new issue