setu सेतु

setu

सेतु “bridge” · a Vyom tool

Bluetooth: devices with battery levels, discovery while open, connect, disconnect, pair, remove, power.

यस्मिन्द्यौः पृथिवी चान्तरिक्षमोतं मनः सह प्राणैश्च सर्वैः ।
तमेवैकं जानथ आत्मानमन्या वाचो विमुञ्चथामृतस्यैष सेतुः ॥

In that one, sky and earth and all between are woven: know it alone, for this is the bridge to the deathless. Muṇḍaka Upaniṣad 2.2.5
InstallSource on GitHubWhat's new in v0.5.1
v0.5.1 latest10 releases4 decisions recordedMIT license
setu: connected headphones at 78% (the sound output), earbuds and a mouse with their batteries, paired and nearby devices; the picked earbuds shown big: left 82%, right 76%, case 34%, the audio mode, and round Sound output, Disconnect and Remove buttons

setu pairing a speaker: the 6-digit code shown big to compare, the steps Found, Confirm code, Connect, and They match (Enter) or Cancel (Esc)

Setu (सेतु) is Sanskrit for "bridge": the bridge between your laptop and your Bluetooth devices.

setu is bluetooth 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 bluetooth-picker.py.

#Features

#Install

#Requirements

#Install

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

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

bindsym $mod+<key> exec vyom setu

#Update and uninstall

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

#Usage

Open it with vyom setu (or your key). It opens in NORMAL mode, where every letter is a key and typing changes nothing: j / k move, Enter connects or disconnects, dd removes (it asks), / types a filter (INSERT mode; Esc goes back). Space is the leader: wait a moment after it and a strip shows what comes next. While a pairing runs, only Enter (they match / try again) and Esc (cancel) work.

Vyom's vim keys work too: ? and Space ? list every key, Space Space is the palette, q closes, Esc steps back, Space u f is fullscreen, Space r refreshes, j / k move, gg / G jump, / searches.

Normal mode (where it opens; / types a filter)

KeyAction
EnterConnect or disconnect the selected device (pairs a new one)
d dRemove (unpair) the selected device (y confirms)
rRescan for devices now

Leader (Space)

KeyAction
Space p pToggle Bluetooth on or off
Space a aStart pairing with the selected device, then connect it
Space a pStart pairing with the selected device (pair and trust, without connecting)
Space c cConnect the selected device
Space c dDisconnect the selected device
Space v oSet the selected headphones or speaker as the sound output
Space v mSwitch the selected headphones to music (high quality, no mic)
Space v cSwitch the selected headphones to calls (with the mic)
Space u hToggle unnamed nearby devices (show or hide them)
Space y aCopy the selected device's address
Space d dRemove (unpair) the selected device (y confirms)

While pairing

KeyAction
EnterConfirm the pairing code matches (or try again after an error)
EscCancel pairing

Keys that moved in this release still say where they went: Ctrl+Backspace → d d.

#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 (this one)सेतु, bridgeBluetooth
dootदूत, messengerYour phone, through KDE Connect
patraपात्र, vesselDocker containers
akashvaniआकाशवाणी, voice from the skyNotifications
ragaराग, 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.