https://github.com/0xwal/niri-scripts
My niri scripts to extend its functionality
https://github.com/0xwal/niri-scripts
niri wm
Last synced: 6 months ago
JSON representation
My niri scripts to extend its functionality
- Host: GitHub
- URL: https://github.com/0xwal/niri-scripts
- Owner: 0xwal
- Created: 2025-07-18T12:02:20.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-18T12:31:21.000Z (6 months ago)
- Last Synced: 2025-07-18T17:00:09.778Z (6 months ago)
- Topics: niri, wm
- Language: Rust
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Support: support-sticky-floating.rs
Awesome Lists containing this project
- awesome-niri - niri-scripts - A collection of scripts. Notably allows setting wallpaper per workspace. (Scripts)
README
# Niri WM Sticky Floating Support Extension
## Overview
This script makes floating windows **sticky** across all workspaces in the [Niri Window Manager](https://github.com/YaLTeR/niri). Any floating window will be moved to the focused workspace, allowing it to follow you across different workspaces.
https://github.com/user-attachments/assets/fab73541-c683-49b3-80da-ae1d3a110348
## Why?
To improve my workflow by keeping floating windows available on every workspace until
these features supported nativly.
## Features
* **Sticky Floating**: Moves any floating window to the focused workspace.
**Note**: In the future, floating and sticky functionality will be split into separate features.
## Dependencies
* **Scriptisto**: Required to run the script. [Github](https://github.com/igor-petruk/scriptisto)
## Installation
1. Clone the repo:
```bash
git clone https://github.com/0xwal/niri-scripts.git
```
2. Make the script executable:
```bash
chmod +x niri-scripts/support-sticky-floating.rs
```
3. Run the script:
```bash
niri-scripts/support-sticky-floating.rs &
disown
```
OR within config
```kdl
spawn-at-startup "dir/niri-scripts/support-sticky-floating.rs"
```