Skip to content

Instantly share code, notes, and snippets.

@fluffy-kaiju
Last active January 15, 2026 20:05
Show Gist options
  • Select an option

  • Save fluffy-kaiju/997ad0a09d97aea4abb2969ad265fbf3 to your computer and use it in GitHub Desktop.

Select an option

Save fluffy-kaiju/997ad0a09d97aea4abb2969ad265fbf3 to your computer and use it in GitHub Desktop.
Flameshot dual monitor with different size on hyperland

Flameshot Dual-Monitor Fix (Hyprland)

Flameshot cannot span multiple monitors on Wayland. This workaround forces it to cover the full virtual screen.

Monitor Layout

monitor= HDMI-A-1, 1920x1080@72, 0x0, 1
monitor= DP-1,   3840x2160@60, 1920x0, 1

Total virtual size: 5760×2160

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor= HDMI-A-1, 1920x1080@72.00000, 0x0, 1
monitor= DP-1, 3840x2160@60.00000, 1920x0, 1

# Fix flameshot
# https://flameshot.org/docs/guide/wayland-help/#multi-display-issue
windowrule {
    name = flameshot-multi-display-fix
    match:class = flameshot

    animation = fade
    rounding = 0
    border_size = 0
    fullscreen_state = 0 0
    float = on
    pin = on
    monitor = HDMI-A-1
    move = 0 0
    #size = (monitor_w*2) (monitor_h*2)
    size = (5760) (2160)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment