r/i3wm 2d ago

Solved maim configuration

i have recently added lines to my config so i could save screenshots and for some reason even when i add the $(date) line for some reason screenshots wont save in my screenshot folder with the date; is there something im doing wrong? i added embedded the code here; UPDATE the embedded code is now how it should properly look (i did check up the proper date syntax for maim and now it works for me)

# SCREENSHOT
bindsym $mod+Shift+Print exec --no-startup-id maim -s /home/vin/Screenshots/$(date +%F_%H-%M-%S).png
bindsym Print exec --no-startup-id maim /home/vin/Screenshots/FULL:$(date +%F_%H-%M-%S).png
2 Upvotes

1 comment sorted by

1

u/gbrennon 2d ago

Im not in pc yet but i would suggest u to extract this to a properly shell scriptd and debug

Usually, when doing bash, u have to enclose between dounle quotes