Question: grim
from HotsauceHurricane@lemmy.one to linux@lemmy.ml on 08 Nov 18:46
https://lemmy.one/post/21019201
from HotsauceHurricane@lemmy.one to linux@lemmy.ml on 08 Nov 18:46
https://lemmy.one/post/21019201
Is there a way to set a five second timer for grim via the terminal? I want to take a screenshot, but the thing i want to screenshot disappears once i try another keycombo or select a new window.
threaded - newest
You can probably just do
sleep 5 && grim
as the program to run.It depends on your desktop environment or window manager, how you’d bind a command to a keybind.
I use sway so keybinds are
bindsym $mod+p exec grim
^ super simple version of my my grim keybind. I tie it with slurp. Either way, i’ll give it a shot!That worked perfectly! Thanks!
sleep 5 && yourcommand
(1)