|
From: | Sergey Trofimov |
Subject: | [bug#62281] [PATCH] home: Add home-xorg-server-service-type. |
Date: | Tue, 21 Mar 2023 22:32:40 +0100 |
User-agent: | mu4e 1.8.13; emacs 29.0.60 |
This is not needed. Xorg config should be a part of the operating-system and guix already has xorg-server-service-type for that. Autostart of sx could be done in the home-environment using this code:
(define (sx-autostart-on tty) (simple-service 'sx-autostart home-shell-profile-service-type (list (mixed-text-file "sx-autostart" "[[ ! $DISPLAY && $(tty) == /dev/" tty " ]] && " "exec " (@ (gnu packages xdisorg) sx) "/bin/sx"))))
[Prev in Thread] | Current Thread | [Next in Thread] |