patra पात्र
a Vyom tool

patra

पात्र · “vessel”

Docker containers: grouped by compose project, live CPU and memory, logs in the preview; restart, stop, start, shell, logs.

v0.1.4 latest5 releases3 decisions recordedMIT license

Patra (पात्र) is Sanskrit for "vessel": the vessels your apps run in: containers.

patra is docker containers 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 docker-picker.py.

#Features

#Install

#Requirements

#Install

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

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

bindsym $mod+<key> exec vyom patra

#Update and uninstall

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

#Usage

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

KeyAction
EnterFollow the selected container's logs in a terminal
Ctrl+RRestart the selected container
Ctrl+SStop or start the selected container
Ctrl+TOpen a shell in the selected container
Ctrl+BackspaceRemove the selected stopped container
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.patra]:

SettingDefaultWhat it does
terminal$TERMINAL, else kitty/foot/alacritty/weztermTerminal for logs and shells

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 (this one)पात्र, vesselDocker containers
suchanaसूचना, noticeNotifications
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.