Remove X11 dark theme selection command
This commit is contained in:
parent
1a733c9338
commit
e4c3a794c2
6
init.el
6
init.el
@ -621,14 +621,12 @@ have been closed."
|
||||
|
||||
(defun user/set-up-frame (frame)
|
||||
"Set up newly-created frame FRAME."
|
||||
(when (display-graphic-p frame)
|
||||
(let ((winid (frame-parameter frame 'outer-window-id)))
|
||||
(start-process "" nil "xprop" "-f" "_GTK_THEME_VARIANT" "8u" "-set" "_GTK_THEME_VARIANT" "dark" "-id" winid))
|
||||
(when (and (daemonp)
|
||||
(display-graphic-p frame)
|
||||
(not user/initial-frame-created))
|
||||
(with-selected-frame frame
|
||||
(run-hooks 'user/after-daemon-make-initial-frame-functions)
|
||||
(setq user/initial-frame-created t)))))
|
||||
(setq user/initial-frame-created t))))
|
||||
|
||||
(editor-feature frame
|
||||
"Graphical frame configuration."
|
||||
|
Loading…
Reference in New Issue
Block a user