A powerful Terminal User Interface (TUI) application for managing Windows system settings directly from the command line. TMWT allows you to view and modify Windows settings without leaving your terminal, perfect for embedded systems, remote administration, or users who prefer keyboard-driven interfaces.
- Native Terminal UI: Full keyboard navigation with an intuitive interface
- Direct Settings Editing: Modify system settings without opening Windows Settings app
- Real-time Search: Quickly find settings with fuzzy search
- Category Organization: Settings grouped by system categories
- Admin Privilege Handling: Clear indicators and elevation when needed
TMWT can directly modify the following settings in-terminal:
- Display Resolution: Change screen resolution and refresh rate
- Power Plans: Switch between power plans (Balanced, High Performance, Power Saver)
- Audio Devices: Select default audio output device
- Network Adapters: Enable/disable Wi-Fi and Ethernet adapters
- DNS Configuration: Set DNS servers (Automatic, Google, Cloudflare, etc.)
- Wi-Fi Power Management: Adjust wireless adapter power saving modes
More settings are being added continuously!
- Settings marked with ✏ can be edited inline
- Settings marked with [Admin] require administrator privileges
- Fallback to Windows Settings app for non-editable items
- Status messages and error handling
- Responsive layout that adapts to terminal size
- Windows 10/11
- Rust toolchain (for building from source)
- Administrator privileges (for certain settings)
# Clone the repository
git clone https://github.com/yourusername/tmwt.git
cd tmwt
# Build with the included script
.\build.bat
# Or build manually
cargo build --releaseThe executable will be created at target/release/TMWT.exe
tmwt.exe
- Arrow Keys: Navigate between categories and items
- Tab: Switch focus between categories and items panels
- Enter: Open setting (edit inline if available, otherwise launch Windows Settings)
- e: Quick edit for editable settings
- /: Enter search mode
- q: Quit application
When editing a setting:
- Space/Enter: Toggle between enabled/disabled
- S: Save changes
- Esc: Cancel without saving
- ↑/↓: Navigate options
- Enter: Select option
- S: Save selection
- Esc: Cancel
- ↑/↓: Navigate resolutions
- Enter: Select resolution
- S: Apply changes
- Esc: Cancel
- Navigate to "System & Display" category
- Select "Display Resolution" (marked with ✏)
- Press Enter or 'e' to edit
- Use arrow keys to select desired resolution
- Press 'S' to save
- Navigate to "Network & Internet"
- Select "Wi-Fi DNS Settings"
- Press Enter to edit (requires admin)
- Choose from preset DNS providers
- Press 'S' to apply
- Press '/' from anywhere
- Type part of the setting name
- Press Enter to exit search
- Navigate to filtered results
TMWT uses a modular architecture that makes it easy to add new settings:
- settings.rs: Defines all available settings and categories
- settings_editor.rs: Core trait system for setting editors
- edit_ui.rs: UI components for the edit interface
- launcher.rs: Fallback system for launching Windows Settings
To add a new editable setting:
- Create an editor implementing the
SettingEditortrait - Add the editor to the factory function in
settings_editor.rs - Update the setting definition in
settings.rswith.with_editor("key")
- TMWT requires administrator privileges for system-level changes
- All changes are validated before applying
- Original Windows security model is preserved
- No settings are cached or stored by TMWT
- Some settings require Windows Settings app (no API available)
- Changes may require restart to take full effect
- Network changes may briefly disconnect active connections
- Some advanced settings not yet implemented