1

Remove X11 dark theme selection command

This commit is contained in:
Jessie Hildebrandt 2023-10-14 01:17:46 -04:00
parent 1a733c9338
commit e4c3a794c2

View File

@ -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."