Skip to content

Instantly share code, notes, and snippets.

@dhaley
Created April 12, 2013 16:55
Show Gist options
  • Save dhaley/5373450 to your computer and use it in GitHub Desktop.
Save dhaley/5373450 to your computer and use it in GitHub Desktop.
(require 'network-speed)
(setq network-speed-update-interval 5)
(setq network-speed-precision 1)
(setq network-speed-interface-list (if (string= (shell-command-to-string "ifconfig | grep en1") "")
'("en0")
'("en1")))
(setq network-speed-format-string "%NI#%RB#%TB#%RX#%TX#%AX")
(network-speed-start)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment