diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2023-07-02 15:07:07 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2023-07-02 15:07:07 +0200 |
commit | 6156f86dd5797de5ea4f912b70d38963c6cf4ad4 (patch) | |
tree | d578204262209695d995e3f639076e91dcb85354 /.config/emacs/jd-emacs/jd-emacs-custom.el | |
parent | ef565a486511cbbb86e0d1f80264b3b57d2ac88a (diff) | |
download | dotfiles-6156f86dd5797de5ea4f912b70d38963c6cf4ad4.tar.gz dotfiles-6156f86dd5797de5ea4f912b70d38963c6cf4ad4.zip |
New Emacs config and change location of Emacs home dir.
Diffstat (limited to '.config/emacs/jd-emacs/jd-emacs-custom.el')
-rw-r--r-- | .config/emacs/jd-emacs/jd-emacs-custom.el | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/.config/emacs/jd-emacs/jd-emacs-custom.el b/.config/emacs/jd-emacs/jd-emacs-custom.el deleted file mode 100644 index aef824f..0000000 --- a/.config/emacs/jd-emacs/jd-emacs-custom.el +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | ;;; Dotfiles --- Jakub Dlugosz emacs config | ||
2 | ;;; Commentary: | ||
3 | |||
4 | ;;; Code: | ||
5 | |||
6 | (defun jd/generete-qr-from-clipboard () | ||
7 | (interactive) | ||
8 | (let ((clipboard-value (x-get-clipboard)) | ||
9 | (clipboard-file-path "/tmp/clipboard_value.txt") | ||
10 | (clipboard-out-image "/tmp/qr.png")) | ||
11 | (with-temp-file clipboard-file-path | ||
12 | (insert clipboard-value)) | ||
13 | (shell-command (concat | ||
14 | "qrencode -o " | ||
15 | clipboard-out-image | ||
16 | " < " | ||
17 | clipboard-file-path)) | ||
18 | (find-file clipboard-out-image))) | ||
19 | |||
20 | (defun jd-emacs/erc-notify-sound () | ||
21 | (jd-exwm/run-in-background "mpv /home/jakub/.config/emacs/resources/beep.wav")) | ||
22 | |||
23 | ;; (add-hook 'erc-notifications-mode-hook #'jd-emacs/erc-notify-sound) | ||
24 | |||
25 | (setq | ||
26 | erc-nick "bobbma" | ||
27 | erc-user-full-name "Jakub Dlugosz" | ||
28 | erc-notify-list '("akuleszaa")) | ||
29 | |||
30 | ;; Define a function to connect to a server | ||
31 | (defun hipis-znc () | ||
32 | (interactive) | ||
33 | (erc :server "195.74.91.18" | ||
34 | :port "6697")) | ||
35 | |||
36 | ;;; jd-custom.el ends here | ||