RWI is a lightweight background daemon for Hyprland that watches the active window and instantly closes it if it matches a blocklist. Useful if you want fewer distractions: block social media, games, or messengers — permanently, or only during "work mode".
- Hyprland
- Python 3
curl -fSL https://raw.githubusercontent.com/kiro-r/rwi/master/install | bash
curl -fSL https://raw.githubusercontent.com/kiro-r/rwi/master/uninstall | bash
rwi on | off
| Option | Description |
|---|---|
is_work_mode_active |
Whether work mode is enabled when the daemon starts |
notify_on_start |
Whether to send a notification when the service starts |
update_time |
Interval between active-window checks (in seconds) |
work_block |
Windows names closed only when work mode is active |
blocked |
Windows names closed always |
- Project structure
~/.config/
├── rwi.json
├── hypr/custom/scripts/
│ └── rwi.py
└── systemd/user/
└── rwi.service
/usr/bin/
└── rwi