Änderung init-ui -> Konfiguration für WSL (Debian) für Copy-Paste angepasst
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
(unless (display-graphic-p)
|
||||
(xterm-mouse-mode 1))
|
||||
|
||||
(when (file-exists-p "/etc/arch-release")
|
||||
;; Clipboard
|
||||
(setq select-enable-clipboard t)
|
||||
(setq select-enable-primary t)
|
||||
@@ -47,7 +48,26 @@
|
||||
(setq interprogram-paste-function
|
||||
(lambda ()
|
||||
(string-trim-right
|
||||
(shell-command-to-string "wl-paste -n 2>/dev/null")))))
|
||||
(shell-command-to-string "wl-paste -n 2>/dev/null"))))))
|
||||
|
||||
|
||||
;; Clipboard
|
||||
;; (setq select-enable-clipboard t)
|
||||
;; (setq select-enable-primary t)
|
||||
|
||||
;; ;; Wayland-Terminal Clipboard via wl-copy / wl-paste
|
||||
;; (unless (display-graphic-p)
|
||||
;; (setq interprogram-cut-function
|
||||
;; (lambda (text &optional _push)
|
||||
;; (let ((process-connection-type nil))
|
||||
;; (let ((proc (start-process "wl-copy" nil "wl-copy")))
|
||||
;; (process-send-string proc text)
|
||||
;; (process-send-eof proc)))))
|
||||
|
||||
;; (setq interprogram-paste-function
|
||||
;; (lambda ()
|
||||
;; (string-trim-right
|
||||
;; (shell-command-to-string "wl-paste -n 2>/dev/null")))))
|
||||
|
||||
;; Hintergrund etwas neutraler
|
||||
(set-face-background 'default "#1e1e1e")
|
||||
|
||||
Reference in New Issue
Block a user