From 40af34ac84c8b951e3162a98c3899394f78527c6 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 8 Apr 2024 18:03:22 +0300 Subject: emacs: Update erc-libera --- .emacs.d/modules/thanos-commands.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/modules/thanos-commands.el b/.emacs.d/modules/thanos-commands.el index 8369151..41e5d90 100644 --- a/.emacs.d/modules/thanos-commands.el +++ b/.emacs.d/modules/thanos-commands.el @@ -50,7 +50,7 @@ (iso (if (y-or-n-p "Load iso? ") (read-file-name "ISO: ") nil))) - (call-process-shell-command + (async-shell-command (format "qemu-system-x86_64 -enable-kvm -m %s -smp %s -hda %s -vga virtio -device virtio-serial-pci %s" memory cores image (when iso (concat "-cdrom " iso)))))) @@ -254,10 +254,12 @@ (defun erc-libera () "Login to liberachat with erc." (interactive) - (erc-tls :server "irc.libera.chat" :port 6697 - :nick "thanosapollo" - :user "thanosapollo" - :password (password-store-get "liberachat/thanos_apollo"))) + (erc :server (password-store-get-field "znc/admin" "server") + :port (password-store-get-field "znc/admin" "port") + :user (password-store-get-field "znc/admin" "user") + :password (password-store-get "znc/admin"))) + + (provide 'thanos-commands) ;;; thanos-commands.el ends here -- cgit v1.2.3