mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add Linux config (mainly for Arch)
This commit is contained in:
@ -4,20 +4,21 @@
|
||||
(defconst IS-LINUX (eq system-type 'gnu/linux))
|
||||
(defconst IS-WINDOWS (eq system-type 'windows-nt))
|
||||
|
||||
;; Use a shared clipboard
|
||||
(setq x-select-enable-clipboard t
|
||||
select-enable-clipboard t)
|
||||
(setq
|
||||
;; Use a shared clipboard
|
||||
x-select-enable-clipboard t
|
||||
select-enable-clipboard t
|
||||
;; Treat clipboard input as UTF-8 string first; compound text next, etc.
|
||||
x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
|
||||
|
||||
;; Stubs, these should be defined in all OS modules
|
||||
(noop! doom-open-with (&optional app-name path))
|
||||
(noop! os-switch-to-term)
|
||||
(noop! os-switch-to-term-and-cd)
|
||||
(noop! os-open-in-browser)
|
||||
(noop! os-open-in-default-program)
|
||||
(noop! os-reveal)
|
||||
(noop! os-reveal-project)
|
||||
(noop! os-open-in-browser)
|
||||
(noop! os-upload)
|
||||
(noop! os-upload-folder)
|
||||
(noop! os-switch-to-term)
|
||||
(noop! os-switch-to-term-and-cd)
|
||||
|
||||
(cond (IS-MAC (require 'core-os-osx))
|
||||
(IS-LINUX (require 'core-os-linux))
|
||||
|
Reference in New Issue
Block a user