No description
Find a file
Andrew Taylor bb44e5c842 Fix: Avoid potential delay in calc of RAM (darwin)
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
2023-12-15 10:57:07 -05:00
.github rename workflow 2021-08-26 16:27:14 -04:00
data Change weather_sleep to avoid writing to tracked files 2020-09-12 19:11:25 -04:00
scripts Fix: Avoid potential delay in calc of RAM (darwin) 2023-12-15 10:57:07 -05:00
.editorconfig consistent formatting across all scripts 2021-07-06 10:22:36 +02:00
.gitignore Change weather_sleep to avoid writing to tracked files 2020-09-12 19:11:25 -04:00
.gitmodules trying to get battery to work 2020-03-14 13:36:46 -07:00
dracula.tmux celsius option 2020-04-29 11:33:51 -07:00
INSTALL.md Merge branch 'master' into master 2023-12-03 18:35:33 -05:00
LICENSE update readme 2020-03-30 23:47:22 -07:00
README.md Merge branch 'master' into master 2023-12-03 18:35:33 -05:00
screenshot.png prepping for transfer to official organization 2020-04-07 10:39:56 -07:00

Dracula for tmux

A dark theme for tmux

Screenshot

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
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.

License

MIT License