Last active
December 5, 2015 08:24
-
-
Save rmuslimov/2d74cacd5e0ae827663e to your computer and use it in GitHub Desktop.
Anybar elisp function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun update-anybar-color (color &optional port) | |
(shell-command | |
(format "echo -n \"%s\" | nc -4u -w0 localhost %s" | |
color (or port 1738)))) | |
;; (update-anybar-color "red") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment