summaryrefslogtreecommitdiff
path: root/private_dot_local/bin/executable_emacs-telega
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-02-11 02:47:33 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-02-11 02:47:33 +0000
commit2c485ce2b43bd810a88278215b771136a2a17881 (patch)
tree3fb74338b87553d898af7b1795de7322cbc5af63 /private_dot_local/bin/executable_emacs-telega
parentadd xdg (diff)
downloaddotfiles-2c485ce2b43bd810a88278215b771136a2a17881.tar.gz
add scripts
Diffstat (limited to 'private_dot_local/bin/executable_emacs-telega')
-rw-r--r--private_dot_local/bin/executable_emacs-telega3
1 files changed, 3 insertions, 0 deletions
diff --git a/private_dot_local/bin/executable_emacs-telega b/private_dot_local/bin/executable_emacs-telega
new file mode 100644
index 0000000..854fccf
--- /dev/null
+++ b/private_dot_local/bin/executable_emacs-telega
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3exec /usr/bin/emacsclient --no-wait --quiet --alternate-editor= --create-frame --eval "(progn (set-frame-name \"Telega - Emacs Client\") (if (and (boundp 'telega--status) (equal telega--status \"Ready\")) (telega-browse-url (pop server-eval-args-left)) (telega) (add-hook 'telega-ready-hook (lambda () (telega-browse-url (pop server-eval-args-left))))))" "$@"