Basically, I want to have a printscreen key so I added into my rc.lua
awful.key({}, "Print", function() awful.util.spawn("flameshot screen -p /my/path/__date__time__.png") end)
to do the key binding.
How do I have date/time as variable in this command, so that the screenshot is savec under /my/path/2021-11-04_12-12
for example?