Created
June 14, 2013 08:43
-
-
Save sebmaynard/5780419 to your computer and use it in GitHub Desktop.
Start emacsclient with some progress of what's going on (useful for desktop launchers)
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
#!/bin/bash | |
## for emacsclient: | |
## -c is gui window | |
## -n is no-wait - don't wait for the window to close | |
## sed buffers by default | |
## -u is unbuffered | |
## zenity expects text progress to start with # | |
emacsclient -c -n 2>&1 | sed -u -e 's/^/# /g' | zenity --title="Starting EmacsClient" --width=600 --progress --pulsate --auto-close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment