No description
bb44e5c842
The system_profiler command used to determine the total memory on darwin systems performs an "Activation Lock" check. This can produce a delay in returning total memory. I began experiencing delays of around 10 seconds. Switching from system_profiler to sysctl to calculate total memory bypasses the "Activation Lock" check / timeout scenario. Results of "time" command using system_profiler: system_profiler SPHardwareDataType 0.17s user 0.23s system 3% cpu 10.165 total grep -a "Memory:" 0.00s user 0.00s system 0% cpu 10.164 total awk '{print $2 $3}' 0.00s user 0.00s system 0% cpu 10.163 total Results of "time" command using sysctl: sysctl -n hw.memsize 0.00s user 0.00s system 83% cpu 0.004 total awk '{print $0/1024/1024/1024 " GB"}' 0.00s user 0.00s system 86% cpu 0.004 total |
||
---|---|---|
.github | ||
data | ||
scripts | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
dracula.tmux | ||
INSTALL.md | ||
LICENSE | ||
README.md | ||
screenshot.png |
Dracula for tmux
A dark theme for tmux
Install
All instructions can be found at draculatheme.com/tmux.
Configuration
Configuration and options can be found at draculatheme.com/tmux.
Features
- Support for powerline
- Day, date, time, timezone
- Current location based on network with temperature and forecast icon (if available)
- Network connection status, bandwidth and SSID
- SSH session user, hostname and port of active tmux pane
- Git branch and status
- Battery percentage and AC power connection status
- Refresh rate control
- CPU usage (percentage or load average)
- RAM usage (system and/or tmux server)
- GPU usage
- Custom status texts from external scripts
- GPU VRAM usage
- GPU power draw
- Color code based on whether a prefix is active or not
- List of windows with the current window highlighted
- When prefix is enabled, a smiley face turns from green to yellow
- When charging, 'AC' is displayed
- If forecast information is available, a ☀, ☁, ☂, or ❄ unicode character corresponding with the forecast is displayed alongside the temperature
- Info if the Panes are synchronized
- Spotify playback (needs the tool spotify-tui installed)
- Music Player Daemon status (needs the tool mpc installed)
- Current kubernetes context
- Countdown to tmux-continuum save
- Current working directory of tmux pane
Compatibility
Compatible with macOS and Linux. Tested on tmux 3.1b FreeBSD compatibility is in development
Team
This theme is maintained by the following person(s) and a bunch of awesome contributors.
Dane Williams | Ethan Edwards |
Community
- Twitter - Best for getting updates about themes and new stuff.
- GitHub - Best for asking questions and discussing issues.
- Discord - Best for hanging out with the community.