Skip to content

Instantly share code, notes, and snippets.

@shiona
Last active February 9, 2026 10:26
Show Gist options
  • Select an option

  • Save shiona/29046e81747c96e60a30f9b8d5daf623 to your computer and use it in GitHub Desktop.

Select an option

Save shiona/29046e81747c96e60a30f9b8d5daf623 to your computer and use it in GitHub Desktop.
sway + flameshot config
# Add the two non-commented lines to your sway config file (likely ~/.config/sway/config)
# The first one makes the darkened desktop overlay actually match the desktop and cover it fully
# The second allows the save dialog to appear
# Tested on
# % sway --version
# sway version 1.12-dev-f4aba225 (Dec 5 2025, branch 'master')
# % flameshot --version
# Flameshot v13.3.0 ()
# Compiled with Qt 6.10.1
# with XDG envs
# XDG_SESSION_DESKTOP=sway:wlroots
# XDG_SESSION_TYPE=wayland
# XDG_CURRENT_DESKTOP=sway:wlroots
# The variable QT_QPA_PLATFORM is unset (I assume it defaults to "wayland", as that also works the same)
for_window [app_id="flameshot" title="flameshot"] floating enable, fullscreen disable, move absolute position 0 0
for_window [app_id="flameshot" title="Save screenshot"] floating enable
@shiona
Copy link
Author

shiona commented Feb 9, 2026

This works almost perfectly, but the side panel opens on the leftmost monitor but to the top of the highest monitor.
I have a 4k monitor in portrait on the right, so the side panel is almost unusable.

Almost, because the flameshot window is actually just a floating window, with mod + mouse drag you can move it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment