Skip to content

Instantly share code, notes, and snippets.

@tamouse
Last active April 29, 2017 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamouse/4eaa00af7b415fc48ac03bcb97a4c2ac to your computer and use it in GitHub Desktop.
Save tamouse/4eaa00af7b415fc48ac03bcb97a4c2ac to your computer and use it in GitHub Desktop.
As a developer running emacs, When I am through testing, I want my emacs windows to go back to normal. https://swaac.tamouse.org/tools/2017/04/29/resetting-emacs-colours-after-working-with-guard/
#!/bin/bash
# resetore the original colors when done running guard
[ -x "$(which emacsclient)" ] && emacsclient --eval '(set-face-attribute '\''mode-line nil :background "#1e2320" :foreground "#acbc90")' >/dev/null
[ -x "$(which tmux)" ] && tmux set status-left-bg colour239
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment