diff options
-rwxr-xr-x | .local/bin/b-bar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/b-bar b/.local/bin/b-bar index 04ae6bb..9e292c5 100755 --- a/.local/bin/b-bar +++ b/.local/bin/b-bar @@ -20,7 +20,7 @@ do adelita|anahita) if [ -x "$(command -v emacsclient)" ]; then embat='(battery-format b/battery-format (funcall battery-status-function))' - bat="$(emacsclient -e "$embat")" + bat="$(timeout 3 emacsclient -e "$embat")" bat="${bat%\"}" bat="${bat#\"}" else |