From e6f26581bf22e266c5056eddfb264eca2efb6ef4 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Thu, 11 Jul 2024 17:11:25 +0200 Subject: Wayland-based desktop support Add a separate home service to configure a Wayland-based desktop instead of an X11 one. Screensharing in Zoom doesn't work unfortunately, but it worked (at least for a while) through OBS. Waybar might need some work to bring it in line with the previous polybar configuration, especially in terms of aesthetics. --- tw/services/dev-env.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tw/services/dev-env.scm') diff --git a/tw/services/dev-env.scm b/tw/services/dev-env.scm index 8e38ea8f..17c73eee 100644 --- a/tw/services/dev-env.scm +++ b/tw/services/dev-env.scm @@ -57,9 +57,8 @@ (list (shepherd-service (documentation "Emacs server; connect using emacsclient.") (provision '(emacs)) - (requirement '(x11-display)) (start #~(make-forkexec-constructor - (list #$(file-append emacs "/bin/emacs") "--fg-daemon"))) + (list #$(file-append emacs-pgtk "/bin/emacs") "--fg-daemon"))) (stop #~(make-kill-destructor))))) (define (emacs-packages config) @@ -70,7 +69,7 @@ glibc ; for ldd ;; Emacs general - emacs ; for Wayland, switch to emacs-pgtk for better fractional scaling support + emacs-pgtk ; for Wayland and better fractional scaling support emacs-use-package emacs-gcmh emacs-eglot -- cgit v1.2.3