executable_run-emacs 178 B

123456789101112
  1. #!/usr/bin/env bash
  2. set -e
  3. emacs --daemon
  4. emacsclient -e '(wi-toggle-theme)'
  5. if [[ $GTK_THEME == Adwaita:dark ]]
  6. then
  7. emacsclient -e '(wi-toggle-theme)'
  8. fi
  9. emacsclient -cn