kendra केन्द्र
a Vyom tool

kendra

केन्द्र · “centre”

Quick settings: Wi-Fi, Bluetooth, hotspot, DND, jyoti (keep awake), theme, wallpaper, power profile, volume, brightness, battery, lock, power.

ईश्वरः सर्वभूतानां हृद्देशेऽर्जुन तिष्ठति ।
भ्रामयन्सर्वभूतानि यन्त्रारूढानि मायया ॥

The Lord dwells in the heart of all beings, turning them by his māyā as if they were mounted on a machine. Bhagavad Gītā 18.61
v0.5.0 latest9 releases3 decisions recordedMIT license

kendra: quick settings panel

Kendra (केन्द्र) is Sanskrit for "centre": the centre every quick setting sits in.

kendra is quick settings 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 the theme / wallpaper / jyoti (keep awake) capsules on the bar.

#Features

#Install

#Requirements

#Install

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

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

bindsym $mod+<key> exec vyom kendra

#Update and uninstall

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

#Usage

Open it with vyom kendra (or your key). It's always in NORMAL mode (there's nothing to type): h / j / k / l move through the tiles and down into the sliders, Enter toggles the focused tile, o opens its details, m mutes. On a slider h / l change it by 5 (a count first: 3l is +15) and 0 / $ go to its ends. Space never toggles a tile any more: it's the leader (Space l locks, Space p opens the power menu, Space g jumps to another panel, Space ? lists every key).

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; on a card j / k move between controls, h / l change the focused one and Enter presses it.

Keys (it's always in NORMAL mode: there's nothing to type)

KeyAction
hMove left in the tiles (on a slider: lower it by 5)
lMove right in the tiles (on a slider: raise it by 5)
jMove down (from the tiles into the sliders)
kMove up
g gJump to the first tile
GJump to the last control (the bottom slider)
0Set the focused slider to its minimum
$Set the focused slider to its maximum
EnterToggle the focused setting (on a slider: mute it)
oOpen the focused tile's details (Wi-Fi in tarang, Bluetooth in setu)
mToggle mute on the sound output

Leader (Space)

KeyAction
Space lLock the screen
Space pOpen the power menu
Space g wOpen the Wi-Fi panel (tarang)
Space g bOpen the Bluetooth panel (setu)
Space g hOpen the hotspot (tarang's Hotspot tab)
Space g pOpen the power menu (vishram)
Space g aOpen the battery panel (urja)
Space rReload every tile and slider

Both

KeyAction
Shift+EnterOpen the focused setting's details (same as o)

Keys that moved in this release still say where they went: L → Space l.

#Configuration

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

SettingDefaultWhat it does
tileswifi bluetooth hotspot dnd jyoti theme wallpaper power-profileWhich tiles, in order
lock / powerloginctl lock-session / vishramThe header buttons (power: vishram inside Vyom when it's installed)
tile.<name>(none)Per tile: open, status, on_when, toggle, on, off, subtitle_on/off, title, icon, icon_svg (a line-drawing SVG in currentColor), color, levels (below) (without open, Wi‑Fi and hotspot open tarang and Bluetooth setu, when installed)
margin_top / margin_right6 / 8Position under the bar

A tile with levels lists them under levels, each with a name, a when (a regex on the status output: this level is the current one) and a set command. While the tile is on, a row under the tiles shows a button per level, the current one filled in the tile's colour; click one (or move to it with j and press Enter) to switch. Clicking the tile itself still turns it on or off.

[plugin.kendra.tile.jyoti]
status = "~/.local/bin/jyoti-status.sh"
on_when = '"class":"(active|strong)"'
toggle = "~/.local/bin/jyoti-toggle.sh"
levels = [
  { name = "Akhaṇḍa", when = '"class":"active"', set = "~/.local/bin/jyoti-toggle.sh akhanda" },
  { name = "Nandādīpa", when = '"class":"strong"', set = "~/.local/bin/jyoti-toggle.sh nandadipa" },
]

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
akashvaniआकाशवाणी, voice from the skyNotifications
ragaराग, melodyYouTube music and video
mudraमुद्रा, gestureKeybinding search
urjaऊर्जा, energyThe battery at a glance
vishramविश्राम, restThe power menu
kendra (this one)केन्द्र, 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.