fixes
[distro-setup] / system-status
index 2dd39ca7d99a90c88ccc9bddf7e51a49f37535cf..c3fe13b411d6a8475ae60ec04c43425c727a3024 100644 (file)
@@ -53,7 +53,7 @@ write-status() {
     fi
   fi
 
-  if pgrep -f 'emacs --daemon' &>/dev/null; then
+  if pgrep -G iank -u iank -f 'emacs --daemon' &>/dev/null; then
     emacsfiles="$(emacsclient --eval "$(cat /a/bin/ds/unsaved-buffers.el)"| sed '/^"nil"$/d;s/^"(/E: /;s/)"$//')"
     if [[ $emacsfiles ]]; then
       chars+=("$emacsfiles")