diff options
author | Thanos Apollo <[email protected]> | 2024-04-08 18:03:22 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-04-08 18:03:22 +0300 |
commit | 40af34ac84c8b951e3162a98c3899394f78527c6 (patch) | |
tree | b3e323558f654636c0b3d0ff9c9978d09b84184b /.emacs.d | |
parent | 4e7a8977443c54839d194320e88b204b00d613da (diff) |
emacs: Update erc-libera
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/modules/thanos-commands.el | 12 |
1 files changed, 7 insertions, 5 deletions
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 |