urja ऊर्जा
a Vyom tool

urja

ऊर्जा · “energy”

Battery at a glance: charge ring, time left, power draw, health and cycles, power profile, a charge-limit reminder.

यदादित्यगतं तेजो जगद्भासयतेऽखिलम् ।
यच्चन्द्रमसि यच्चाग्नौ तत्तेजो विद्धि मामकम् ॥

The radiance of the sun that lights the whole world, and that in the moon and in fire: know that radiance as mine. Bhagavad Gītā 15.12
v0.3.0 latest7 releases4 decisions recordedMIT license

urja: battery panel

Urja (ऊर्जा) is Sanskrit for "energy": the energy your laptop runs on.

urja is the battery at a glance 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 battery-limit-picker.py.

#Features

#Install

#Requirements

#Install

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

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

bindsym $mod+<key> exec vyom urja

#Update and uninstall

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

#Usage

Open it with vyom urja (or your key; vyom urja demo shows made-up numbers). It's always in NORMAL mode (there's nothing to type): j / k move between the power profiles and the reminder slider, h / l move along the profiles or the slider (a count first: 3l), Enter picks the focused profile, p switches to the next profile and 0 turns the reminder off. Space is the leader (Space ? lists every key); it never presses a control.

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
pSwitch to the next power profile
0Turn the charge-limit reminder off

Leader (Space)

KeyAction
Space y yCopy a battery summary (87%, charging, 2 h left)
Space o tOpen the battery's details (upower -i) in a terminal

#Configuration

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

SettingDefaultWhat it does
limit_file(unset: no slider)File holding the reminder percentage (Vayu: ~/.local/state/battery-limit/threshold)

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 (this one)ऊर्जा, 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.