Repository navigation
lsnet 0.12.0
Themes
The browser has always drawn in your terminal's own colors, and still does to start. Press t for the others: Omarchy's themes (Tokyo Night, Catppuccin, Gruvbox, Nord, Rosé Pine and more) and lshn's hn, amber and green, each with a strip of its colors. Moving through the list shows each one on the whole screen; Enter keeps it and Esc goes back.
- The theme you keep is saved in
~/.lsnet/config.toml, and--theme NAMEpicks one for a single run. - Themes of your own go in
~/.lsnet/themes/, asNAME.tomlorNAME/colors.tomlin Omarchy'scolors.tomlformat. - On Omarchy, lsnet follows the desktop's theme instead, as it changes.
The mouse
Click a tab to switch to it, a row to select it, or a line of the details to go into them with that line selected. Click what's already selected to copy it: a row's IP address (or a service's address and port), or a line's value. The wheel moves through the list or the details, and every hint in the footer clicks as its key, so w open opens the web page.
--no-mouse, or mouse = false in the config file, leaves the mouse to the terminal. Most terminals still select text while you hold Shift (Option in iTerm2).
Which pane has the keyboard
The pane with the keyboard is outlined in the theme's accent (cyan in the terminal's own colors), and the other one dimmed, whichever side it's on. Only the details used to change.
Upgrading from 0.11.0
- The mouse is on: clicks and the wheel go to lsnet. To select text with the terminal, hold
Shift(Optionin iTerm2), or run with--no-mouse. tpicks a theme, and lsnet now reads~/.lsnet/config.tomlif there is one. Printed tables and--jsonhaven't changed.
Download
- macOS (Apple silicon):
brew install sanford/tap/lsnet, or downloadlsnet-macos-arm64.tar.gzbelow (signed and notarized) - Windows:
scoop install sanford/lsnet, or downloadlsnet-windows-x64.zipbelow - Anywhere with Rust:
cargo install lsnet
Full changes: v0.11.0...v0.12.0