diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-23 02:27:49 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-23 02:27:49 +0200 |
commit | ba06b5fb8c054f769c303c8b02a08502d6067210 (patch) | |
tree | 4e44baf8a095cd2df863ad47e50c900660c9656e /.local/bin/startemacs | |
parent | new package (diff) | |
download | dotfiles-bsd-ba06b5fb8c054f769c303c8b02a08502d6067210.tar.gz dotfiles-bsd-ba06b5fb8c054f769c303c8b02a08502d6067210.tar.bz2 dotfiles-bsd-ba06b5fb8c054f769c303c8b02a08502d6067210.tar.xz dotfiles-bsd-ba06b5fb8c054f769c303c8b02a08502d6067210.tar.zst dotfiles-bsd-ba06b5fb8c054f769c303c8b02a08502d6067210.zip |
update
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/startemacs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.local/bin/startemacs b/.local/bin/startemacs index 4a61641..d0034d6 100755 --- a/.local/bin/startemacs +++ b/.local/bin/startemacs @@ -1,6 +1,7 @@ #!/bin/sh -if ! pgrep emacs; then - bsdsetsid emacs --daemon >/dev/null 2>&1 +if ! pgrep emacs >/dev/null; then + emacs --daemon >/dev/null 2>&1 + exec notify-send -u low -t 2000 'emacs' ' Emacs daemonized' fi |