diff options
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/silicon.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/silicon.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/silicon.lua index f5bd3fa..b708e60 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/silicon.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/silicon.lua @@ -106,7 +106,14 @@ return { local timestamp = os.date("!%Y-%m-%d_%H-%M-%S") -- Get timestamp local file_name = vim.fn.expand("%:t:r") -- Get the file name without extension local file_extension = vim.fn.expand("%:e") - return home_dir .. "/" .. timestamp .. "_" .. file_name .. "_" .. file_extension .. ".png" + return home_dir + .. "/Pictures/screenshots" + .. timestamp + .. "_" + .. file_name + .. "_" + .. file_extension + .. ".png" end, }, keys = { |
