A simple widget that displays the current Voxtype status icon/text in the DMS bar, updating periodically.
- Status polling using
voxtype status --format json - Configurable refresh interval (in seconds)
- Configurable icon theme, passed to Voxtype via
--icon-theme - Font mapping per theme in the bar:
nerd-font(default) → Nerd fonts (JetBrainsMono,FiraCode,HackNerd Font)material→Material Design Iconsphosphor→Phosphor Iconscodicons→VS Code Codiconsomarchy→Omarchy font- other themes (emoji, minimal, dots, arrows, text, etc.) still use the default Nerd fonts and rely on Voxtype’s output
Voxtype must be properly configured to work with this plugin. Make sure the state_file is enabled in your Voxtype configuration (~/.config/voxtype/config.toml), which is enabled by default:
state_file = "auto" # This is the default valueFor more information about Voxtype configuration, see the Waybar integration guide.
The plugin is already in your plugins directory. To enable it:
- Open DMS Settings Super + ,
- Go to the "Plugins" tab
- Enable the Voxtype plugin
- Add the
voxtypewidget to your DankBar configuration
The widget periodically runs voxtype status --format json --icon-theme <iconTheme> and shows the text field from the JSON response directly in the bar, using the font that matches the selected icon theme.
-
Icon Theme
- Key:
iconTheme - Description: Select the icon theme to use for displaying Voxtype status.
- Options:
nerd-font(default)emojimaterialphosphorcodiconsomarchyminimaldotsarrowstext
- Key:
-
Refresh Interval
- Key:
refreshInterval - Description: Time interval to query Voxtype status (in seconds).
- Default:
1 - Range:
1–10
- Key:
plugin.json- Plugin manifest and metadataVoxtypeWidget.qml- Main widget componentVoxtypeSettings.qml- Settings UIREADME.md- This file
This plugin requires:
process- To execute and monitor thevoxtypecommand
The widget uses the following command to query status (values simplified):
voxtype status --format json --icon-theme <iconTheme>Example output from Voxtype:
{
"text": "🎙️",
"alt": "idle",
"class": "idle",
"tooltip": "Voxtype ready - hold hotkey to record"
}