Framework Laptop 12 - junaruga/framework-laptop-config GitHub Wiki
I would share the Framework Laptop 12-specific tips on this page.
Custom power key
The etc/systemd/logind.conf.d/custom-power-key.conf
changes the behavior of the power key. On Sway, it seems the default behavior of the power key is to power off by pressing. This config file changes the behavior into pressing to suspend, and long-pressing to power off.
Tablet mode on Sway
The document is here.