mirror of
https://github.com/sudoxnym/nightd.git
synced 2026-05-18 11:39:02 +00:00
84 lines
2.2 KiB
Markdown
84 lines
2.2 KiB
Markdown
<div align="center">
|
|
|
|
<img src="icon.png" width="128" height="128" alt="nightd icon">
|
|
|
|
# nightd
|
|
|
|
**screen dimmer for android tv**
|
|
|
|
[](https://github.com/sudoxnym/nightd/releases/latest)
|
|
[](https://sudoxnym.github.io/fdroid-repo)
|
|
[](LICENSE)
|
|
|
|
*blacks out the display while keeping media playing. perfect for falling asleep to music without screen burn or light pollution.*
|
|
|
|
---
|
|
|
|
</div>
|
|
|
|
## ✨ features
|
|
|
|
- **dim mode** — single overlay layer for reduced brightness
|
|
- **black mode** — full blackout while audio continues
|
|
- **toggle hotkey** — cycles through off → dim → black
|
|
- **no root required** — just overlay permission
|
|
- **tv remote friendly** — works with key mapper
|
|
|
|
## 📥 install
|
|
|
|
### option 1: github releases
|
|
```bash
|
|
adb install nightd.apk
|
|
```
|
|
[⬇️ download latest apk](https://github.com/sudoxnym/nightd/releases/latest)
|
|
|
|
### option 2: f-droid repo
|
|
|
|
add this repo to f-droid or neostore:
|
|
```
|
|
https://sudoxnym.github.io/fdroid-repo/repo
|
|
```
|
|
|
|
<a href="https://sudoxnym.github.io/fdroid-repo">
|
|
<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" height="60">
|
|
</a>
|
|
|
|
## ⚙️ setup
|
|
|
|
1. install the apk
|
|
2. open nightd and grant **"display over other apps"** permission
|
|
3. use [key mapper](https://github.com/keymapperorg/KeyMapper) to bind to a remote button
|
|
|
|
### key mapper config
|
|
|
|
set up an **activity** intent:
|
|
|
|
| field | value |
|
|
|-------|-------|
|
|
| action | `com.sudoxnym.nightd.TOGGLE` |
|
|
| package | `com.sudoxnym.nightd` |
|
|
| class | `com.sudoxnym.nightd.ToggleActivity` |
|
|
|
|
**available actions:**
|
|
- `TOGGLE` — cycle through modes
|
|
- `DIM` — single layer dim
|
|
- `BLACK` — full blackout
|
|
- `OFF` — disable overlay
|
|
|
|
## 🎮 usage
|
|
|
|
- press your mapped button to cycle: **off → dim → black → off**
|
|
- press **back** on remote to turn off overlay from any mode
|
|
- tap notification to disable
|
|
|
|
## 📜 license
|
|
|
|
MIT — do whatever you want with it
|
|
|
|
---
|
|
|
|
<div align="center">
|
|
|
|
made by [sudoxnym](https://sudoxreboot.com) ⚡
|
|
|
|
</div>
|