Remapping Caps Lock globally seems to be the best option. Follow instructions here to achieve this (should be roughly distribution-agnostic).
You can probably downgrade wlroots with
$ pacman -U /var/cache/pacman/pkg/old-version
If you have cleared your package cache, see instructions in the ArchWiki.
Cagebreak should start working again after the downgrade.
After a new release, the downgrading will no longer be necessary (in fact, downgrading will probably break your setup).
Set the following environment variables
MOZ_USE_WAYLAND=1GDK_BACKEND=waylandto activate wayland support for firefox.
Execute the following commands with the appropriate env vars:
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTIP=sway
/usr/lib/xdg-desktop-portal -r
/usr/lib/xdg-desktop-portal-wlr
Suppose you want to use a command like bind for a
character which is likely not on your keyboard like “ы” - you should
write it as “Cyrillic_yeru”.
These names can be obtained by running xev and pressing the respective key(s) (combinations).
The size and shape of the cursor is determined by the application,
however, most applications respect the environment variables
XCURSOR_SIZE and XCURSOR_THEME
To change the cursor size, one could use:
export XCURSOR_SIZE=1
If you are using an application which inherits its environment variables from something outside the scope of the export (such as a daemon for emacs might), you can usually specify your environment variables in the applications respective configuration.
The documentation says to start Cagebreak like any other binary.
If you want to start Cagebreak on login, you can use your shells
equivalent of a .bash_profile. In BASH appending cagebreak
(given that it is installed in the path) to .bash_profile
is fine.
If you want to start Cagebreak using systemd you could use a service started on user login, though the development team once ran into some issues with permissions for the services.
Please note that Cagebreak does not solve the problem of locking the screen or login in general.
There are multiple ways to launch external programs in cagebreak.
&disown, which should be
available in every shell.exec command in the cagebreak config, it is
possible to launch programs when cagebreak is started. Moreover, as this
command can be combined with commands such as bind, it can
be used to create custom keybindings which execute external programs.
(See also the man page cagebreak-config).