raga राग
a Vyom tool

raga

राग · “melody”

Search YouTube and play: music straight into MPD's queue (rmpc), or a video in mpv. Thumbnails, durations, channels.

v0.1.3 latest4 releases3 decisions recordedMIT license

Raga (राग) is Sanskrit for "melody": the melody you were looking for.

raga is youTube music and video for Vyom: one keyboard-driven panel that opens instantly, with live data, a preview and a key for everything. It runs on any compositor with the layer-shell protocol (sway, Hyprland, river, niri, Wayfire, labwc…). In Vayu, the desktop it was built for, it replaces music-search.py.

#Features

#Install

#Requirements

#Install

git clone https://github.com/Theyashsawarkar/raga ~/.local/share/vyom/plugins/raga
vyom reload           # pick it up (or log out and in)
vyom raga            # open it; run it again to close

Give it a key in your compositor, e.g. sway:

bindsym $mod+<key> exec vyom raga

#Update and uninstall

git -C ~/.local/share/vyom/plugins/raga pull && vyom reload     # update
rm -rf ~/.local/share/vyom/plugins/raga && vyom reload          # uninstall

#Usage

Open it with vyom raga (or your key). Type to search; the footer always shows the keys for what's selected.

KeyAction
EnterPlay the selected result (music: in nāda, or MPD via rmpc; video: in mpv)
Shift+EnterPlay it the other way (as video / as music)
Ctrl+EnterAdd the music to the queue without playing it
Ctrl+MSwitch between music and video
EscClose the panel

Every Vyom panel also has Up/Down (or Ctrl+K/Ctrl+J) to move, Page Up/Page Down to jump and Tab to switch to the next tool.

#Configuration

Everything is optional, in ~/.config/vyom/config.toml under [plugin.raga]:

SettingDefaultWhat it does
modemusicMusic or video to start in
nada_commandnadaThe music player music goes to (empty: use rmpc)
player_command(none)With rmpc: opened after music starts (e.g. your rmpc launcher)

Run vyom reload after editing.

#Troubleshooting

#The Vyom family

Each tool is its own repository, so you install only the ones you want:

ToolWhat it does
dvaraद्वार, gatewayThe app launcher
ganitगणित, mathematicsThe calculator and converter
smritiस्मृति, memoryClipboard history
bhavaभाव, feeling, emotionThe emoji picker
tarangतरंग, waveWi‑Fi and the hotspot
setuसेतु, bridgeBluetooth
dootदूत, messengerYour phone, through KDE Connect
patraपात्र, vesselDocker containers
suchanaसूचना, noticeNotifications
raga (this one)राग, melodyYouTube music and video
mudraमुद्रा, gestureKeybinding search
urjaऊर्जा, energyThe battery at a glance
vishramविश्राम, restThe power menu
kendraकेन्द्र, centreQuick settings

#Contributing

Bug reports, ideas and pull requests are welcome: see CONTRIBUTING.md for the development setup and the few rules every tool follows, and CHANGELOG.md for what changed in each release. Please report security issues privately (SECURITY.md).

#License

MIT.