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.

  • Ephera
    link
    fedilink
    77 hours ago

    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.

    • HotsauceHurricaneOP
      link
      English
      27 hours ago

      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!