Not just screenshots like hyprshot, but also recording videos of part of the screen. I used to use spectacle but there’s no way without kwin.

  • ☭SaltyIcetea☭@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Video recording:
    OBS (specifically the replaybuffer for clips)
    (i am using obs-cmd 'cause i never got the global hotkeys to work. idk why)

    run it on startup so its ready for clips
    exec-once = obs --minimize-to-tray --startreplaybuffer

    save replay buffer (it keeps runnig after save)
    bind = , F9, exec, obs-cmd replay save

    start recording, or stop and save recording if it is already active
    bind = , F10, exec, obs-cmd recording toggle

    Screenshots:
    hyprshot.
    (0xff61 is the “print screen” key)

    whole (active) monitor
    bind = , 0xff61, exec, hyprshot --mode active --mode output --output-folder ~/Pictures/Screenshots

    select region (dragged by mouse):
    bind = SHIFT, 0xff61, exec, hyprshot --mode region --output-folder ~/Pictures/Screenshots

    current (active) window
    bind = CTRL, 0xff61, exec, hyprshot --mode active --mode window --output-folder ~/Pictures/Screenshots