From ba06b5fb8c054f769c303c8b02a08502d6067210 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 23 Apr 2022 02:27:49 +0200 Subject: update --- .local/bin/startemacs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.local/bin/startemacs') 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 -- cgit v1.2.3