summaryrefslogtreecommitdiff
path: root/.emacs.d/modules/thanos-commands.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/modules/thanos-commands.el')
-rw-r--r--.emacs.d/modules/thanos-commands.el12
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