https://github.com/linuxmobile/ytfzf-dot
My Own config for ytfzf
https://github.com/linuxmobile/ytfzf-dot
Last synced: 3 months ago
JSON representation
My Own config for ytfzf
- Host: GitHub
- URL: https://github.com/linuxmobile/ytfzf-dot
- Owner: linuxmobile
- Created: 2022-01-10T16:24:32.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-11T11:41:59.000Z (about 4 years ago)
- Last Synced: 2025-02-17T20:04:32.795Z (12 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ytfzf-dot
### 🎀 My Settings and Scripts to get YTFZF working awesome.
_special thanks to [ytfzfim](https://github.com/thatonecalculator/ytfzfim) for this amazing tool_
## 🔮 Clone and Sync repo
```sh
git clone https://github.com/linuxmobile/ytfzf-dot &&
cd ~/ytfzf-dot &&
rsync -avxHAXP --exclude '.git*' .* ~/
```
## 📌 Add rofi and an alias to your shell (i'm using zsh as example)
```sh
echo -n "export YTFZF_EXTMENU='rofi -dmenu -fuzzy -width 1000'" >> ~/.zshrc &&
echo -n "export YTFZF_ENABLE_FZF_DEFUALT_OPTS=0" >> ~/.zshrc &&
echo -n 'export alias yt="~/.scripts/yt-r"'
```
## 🛠️ Add beautiful Keybind to your WM.
_ This example is only for DWM _
```sh
/* YTFZF scripts. Run script and quit killing mpv */
{MODKEY, XK_y, spawn, SHCMD("~/.scripts/yt-r")},
{MODKEY|ShiftMask, XK_y ,spawn, SHCMD("pkill -9 mpv")},
```