about summary refs log tree commit diff
path: root/modules/emacs
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-26 14:01:02 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-26 14:01:02 +0300
commit1831d54b47e0ca1aa16b39fc3ab1ffcd538c6622 (patch)
tree96a4f898f0ff2398da5283ef4ea8314fe8ad78d2 /modules/emacs
parent2024-05-25 (diff)
2024-05-26
Diffstat (limited to 'modules/emacs')
-rw-r--r--modules/emacs/doom/config.el7
-rw-r--r--modules/emacs/doom/init.el1
-rw-r--r--modules/emacs/doom/packages.el2
3 files changed, 10 insertions, 0 deletions
diff --git a/modules/emacs/doom/config.el b/modules/emacs/doom/config.el
index 79c0156..9ab1e23 100644
--- a/modules/emacs/doom/config.el
+++ b/modules/emacs/doom/config.el
@@ -12,6 +12,13 @@
 (setq browse-url-generic-program (executable-find "firefox")
       browse-url-browser-function 'browse-url-generic)
 
+(use-package! xclip
+  :config
+  (setq xclip-program "wl-copy"
+        xclip-select-enable-clipboard t
+        xclip-mode t
+        xclip-method 'wl-copy))
+
 ;;
 ;;; Doom-specific
 ;;
diff --git a/modules/emacs/doom/init.el b/modules/emacs/doom/init.el
index 571993b..ac4a687 100644
--- a/modules/emacs/doom/init.el
+++ b/modules/emacs/doom/init.el
@@ -63,6 +63,7 @@
 
        :os
        (:if (featurep :system 'macos) macos)
+       tty
 
        :lang
        (cc +lsp +tree-sitter)
diff --git a/modules/emacs/doom/packages.el b/modules/emacs/doom/packages.el
index 2ed0e4c..549a5e5 100644
--- a/modules/emacs/doom/packages.el
+++ b/modules/emacs/doom/packages.el
@@ -1,5 +1,7 @@
 (disable-packages! writegood-mode)
 
+(package! xclip)
+
 (package! org-roam-ui)
 
 (package! nickel-mode)

Consider giving Nix/NixOS a try! <3