A utility to make floating windows visible across all workspaces in niri — similar to "sticky windows" in other compositors.
Niri doesn’t natively support global floating windows. This tool forces float windows to persist on every workspace, mimicking the sticky behavior from X11/Wayland compositors like Sway or KWin.
go install github.com/probeldev/niri-float-sticky@latestVia AUR (maintained by jamlotrasoiaf/brainworms2002):
paru -S niri-float-stickynix profile install github:probeldev/niri-float-sticky To automatically launch the utility on niri startup, add this line to your niri configuration:
spawn-at-startup "niri-float-sticky"Usage of niri-float-sticky:
-allow-moving-to-foreign-monitors
allow moving to foreign monitors
-debug
enable debug logging
-version
print version and exitExample with debug log:
niri-float-sticky -debug >> /tmp/niri-float-sticky.log
# Configuring logrotate
cat <<EOF | sudo tee /etc/logrotate.d/niri-float-sticky >/dev/null
/tmp/niri-float-sticky.log {
daily
rotate 5
compress
missingok
notifempty
copytruncate
maxsize 10M
su root root
}
EOFWe welcome all contributions! To get started:
-
Open an Issue to:
- Report bugs
- Suggest new features
- Ask questions
-
Create a Pull Request for:
- Bug fixes
- New functionality
- Documentation improvements
This project is licensed under the MIT License.