From f414b788f1bc84a42418b585fdab7db0cfd0c713 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Sun, 17 May 2026 14:21:46 -0700 Subject: [PATCH] add: niri instructions --- configs/niri_l/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configs/niri_l/README.md b/configs/niri_l/README.md index 6d78c54..afa9597 100644 --- a/configs/niri_l/README.md +++ b/configs/niri_l/README.md @@ -155,3 +155,19 @@ Change `inactive-color "#505050"` to `inactive-color "#7c6f64"` Settings for `output` would need to be change as per device. I am mostly using `niri` on desktops. To get what resolutions your display can take run `niri msg outputs` ## Independent File Configuration + +## Scripts & Good-To-Have +### Media Player +Bash script prompts you to paste a video link, usually from **youtube** opens it in `mpv` and uses `yt-dlp`. The scripts checks if all apps are installed locally. If not, it installs it. + +script location, `/dots/configs/niri_l/scripts/mpv-ulr-gruvbox-niri.sh` + +#### Installation +1. `cp` `mpv-url-gruvbox-niri.sh` to `~/.config/niri/scripts/` make sure the script is executable `sudo chmod +x niri-utl-gruvbox-niri.sh` +2. Add the following config settings to `niri` config file +```bash +binds { + // ... other binds + Mod+Alt+M { spawn "bash" "/home/toniiz/.config/niri/scripts/mpv-url-gruvbox-niri.sh"; } +} +```