add saved.nim

This commit is contained in:
Rasmus Moorats 2023-10-01 15:03:05 +03:00
parent 0970794a05
commit c596f1a9d6
Signed by: xx
GPG key ID: FE14255A6AE7241C
2 changed files with 5 additions and 0 deletions

View file

@ -11,6 +11,7 @@ bin = @["b64d",
"latest",
"randchars",
"rofi_open_in_nvim",
"saved",
"bcat"]
binDir = "bin"

4
src/saved.nim Normal file
View file

@ -0,0 +1,4 @@
import std/os
for file in commandLineParams():
file.moveFile getHomeDir() / "SavedDownloads" / file