From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QLPZMo7B82YYnwAA62LTzQ:P1 (envelope-from ) for ; Wed, 25 Sep 2024 07:53:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QLPZMo7B82YYnwAA62LTzQ (envelope-from ) for ; Wed, 25 Sep 2024 09:53:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XzYdPqjC; dkim=fail ("headers rsa verify failed") header.d=nanein.fr header.s=mail header.b=emlbV1A5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727250830; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ZCn9aoNqqXpRj2RSJn0xb7TQwcEVGZKD03oQOdz0QHk=; b=u0csME/DZLF+/QxVS6fr1MiRRG0PiGbDCz6cd5PUBCQj692B28o7hLJGQ8RAok0VI49AH/ W55urg2OxIxoZy006tOboRjiLJUNxf+k7RyxkdERa0xv8EXPLdsgNVtTwlEUg6IOe/b0m/ JQhItnr/83XhRFbvPGMaiu36+fCDHAC9EWWDpeNeD7pwE22ayG5QuLWvdtqRq9Fzx+u53l qSkI3fNoc+o7FaZCGDanCZQPb5YCcoMDY7s+ZTd5RTXK08wE0zKLiMosfC7afPXIxjg99J ztNLno2CZRjvJzEAm44sRZbl35SlZn3esrXV7BrGQeZBfe1PT64IykAZcr51rQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727250830; a=rsa-sha256; cv=none; b=Z+hfftOocFdHgfroF8j1zT1uvalzGy0SiZzTSYQl1qT8QZwvGAdoSyRszXOYK/vRDxFRKk e+IAebUufsxgY0Ffx8MoD2IXYkc8SthR7VcNfRPdzuKLiewKl/K7DyxNnFRSKio1XB1fIz hI9RADZR/KlL19JBeiVSPRMIstPm4g/ap4tmyhpL7IJ2aZ1MnuAdA98i6qyqfoqL8hZSC2 J5T1Ey9/wznC4FFaELbhrpI44xje7HJMlhpwoGoDR5pzSC8mFjDRJ7RdebHjGg9gTyJqk7 +J21MzOSfqWrWNwF8Ggvd/EueCpT7qZwJ+Tvg1YEaPJ/VIghT4XmBttNbjWVew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XzYdPqjC; dkim=fail ("headers rsa verify failed") header.d=nanein.fr header.s=mail header.b=emlbV1A5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5B4F41AE54 for ; Wed, 25 Sep 2024 09:53:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stMqC-0002rP-Pf; Wed, 25 Sep 2024 03:53:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stMqA-0002r2-Km for guix-patches@gnu.org; Wed, 25 Sep 2024 03:53:38 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stMq8-00031B-MS for guix-patches@gnu.org; Wed, 25 Sep 2024 03:53:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=ZCn9aoNqqXpRj2RSJn0xb7TQwcEVGZKD03oQOdz0QHk=; b=XzYdPqjC+hE97b84HJ0OL4IQE8xHf6w9z93Skjiy9ME2Z+B1tJnnWmzv+LKLH74HGpWFKdj4i+oXsfCJVIXWIcKJdRqcFKzGCFfYEE3HyodyPZB/YIjRMzkd8QXpxd5Y4rLsfb1BLT7GF51oCQnj7LG287vsqBcLKQ46s1/eHikR1pe0z2jbjnJMAmBauoysrAAJyO5vfk0F5l3b7NLlcTqMbSVL2QFIDDY/Rs3nUHtJLKcw40wRJR7TPre/jM/4RvdgwxNM4cYgfPgMspojanxSye9YQpSlFs2XX7J/2Fs2SGTu+S5hqAvhx9cT0AAnh/LeZ1GsD5qyWNYbyU59og==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stMqY-000301-3A for guix-patches@gnu.org; Wed, 25 Sep 2024 03:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72714] [PATCH v4] home: services: Add 'home-sway-service-type'. Resent-From: Arnaud Daby-Seesaram Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Sep 2024 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72714 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "pelzflorian (Florian Pelz)" Cc: Hilton Chain , 72714@debbugs.gnu.org Received: via spool by 72714-submit@debbugs.gnu.org id=B72714.172725082411480 (code B ref 72714); Wed, 25 Sep 2024 07:54:02 +0000 Received: (at 72714) by debbugs.gnu.org; 25 Sep 2024 07:53:44 +0000 Received: from localhost ([127.0.0.1]:44110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stMqF-0002z1-AK for submit@debbugs.gnu.org; Wed, 25 Sep 2024 03:53:43 -0400 Received: from nanein.fr ([185.230.78.41]:34576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stMqC-0002yd-NV for 72714@debbugs.gnu.org; Wed, 25 Sep 2024 03:53:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nanein.fr; s=mail; t=1727250758; bh=sVjgpXxZa1F2YtnaLKAHtSXeqLUFJc3O7FC7eyEuuo8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=emlbV1A5Epj/mv2nTeLjW8Qk4HZOMPmskYQACT51lv/thzTkz39EXYvpMSyRyocVC 2WSrj1aMjPAowjPnKwukwH0icspPlNSyvDFEuEKgiuLq1pUOvE/81j79RqGFgjKLtS I34FO4wXKl76xg9yFDAb4AgcYa/MGrf8Kp1qKoBBMCHCnLhLb7JBWFLClNuEILU2DT tvhdRy9rjc4grYSdim2pxjaUZUDL+9CTcJApcvEIhCxhAhm5uyt4xaaUaIWvzJ01VZ lRaT60wHxjaAkaS97lLoZilLYELWO+rA6SYyqU0bm4hYEfiysR668DCB97c8WZXZGb WslHaRDUI4FdIjANQ1jhYZV6dWt0bJoy0AN/4zHvW00rkEm+b3sD02d0eVAUX3IT0r 9QCr6uFLl7G4OkGfwU55zM7GEoRIcMnvrmnTloDOUBf44uQaMSoq6eK7lS46SMLjJg 021zUcwUj0ExZLjmV2JiVRce/KY92S7iUw4eUcW+KI3g6pU3CKIFLdUg1n8sparyL2 Zrfqaj420Y+U475flsrZ1FLxVYteEXf+JVcmEupW1RV6XlRhchuGKmNsjPhFKE6ve/ GyIEy3Z9vI8Tz5TXLBcVzej1xXGPmYAOk+D1QyDnqe61j5kW2sU1zQ6+qecWAdSk2i 2gI1+KC9uu0Z08RjzogpuK1U= Received: from arnaudGuixPortable (eduroam09.au.dk [185.45.22.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by nanein.fr (Postfix) with ESMTPSA id 6F72B140215; Wed, 25 Sep 2024 09:52:38 +0200 (CEST) In-Reply-To: <87v7ykrzhx.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Wed, 25 Sep 2024 08:58:18 +0200") References: <1e82e473639f21a2950a0827f156437ef1bc9c48.1724081442.git.ds-ac@nanein.fr> <20240903072745.5118-1-ds-ac@nanein.fr> <87bk0qe54l.fsf@pelzflorian.de> <87plp2db5y.fsf@nanein.fr> <87bk0icm0j.fsf@pelzflorian.de> <875xqn4xda.fsf@nanein.fr> <87v7ykrzhx.fsf@pelzflorian.de> Date: Wed, 25 Sep 2024 09:52:36 +0200 Message-ID: <87ikukqiez.fsf@nanein.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Arnaud Daby-Seesaram X-ACL-Warn: , Arnaud Daby-Seesaram via Guix-patches From: Arnaud Daby-Seesaram via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.12 X-Migadu-Queue-Id: 5B4F41AE54 X-Spam-Score: -9.12 X-TUID: uz47sgPTdas0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Florian, > "pelzflorian (Florian Pelz)" writes: >> I=E2=80=99m still looking at the details of sway, so I could myself push= your >> patch with confidence to guix.git, but would also be happy if others >> pushed it > Nice, NB: it is also fine I meant: it is also fine if you prefer to wait a few weeks for someone else with commit access to comment/push this patch (as I do not want to put pressure on you, and you said that you preferred not to take responsibility for sway in a previous email). "pelzflorian (Florian Pelz)" writes: > I still have not found the time to look at `sway-bar' and `point' and > `sway-color' and such details. As I have changed these configuration records and the serialisation function (hopefully making it easier to read and modify) in the v6, I will send it today. I will not address your comments from today, but should contain improvements over the previous code. "pelzflorian (Florian Pelz)" writes: > Arnaud Daby-Seesaram writes: >> I will probably define a new variable `%sway-default-packages' >> containing the above packages (minus waybar, ...). WDYT? > > Yes, good idea. > > Though some of these commands like dbus and xdg portals are unnecessary > because noone will run them manually from within sway. Yes, indeed. This week, I will test sway with only (list sway) and (list sway swaybg) to see what works and what fails in each case. Then, I will try to minimise the list of v5 (as users can always provide their own lists if they want more packages to be available). > Also note that the menu should default to wmenu instead of dmenu > according to swaywm.org release notes for current sway 1.9. Both are in > $(guix build sway)/etc/sway/config, but dmenu got used, but probably for > compatibility only. > > wmenu should be the only menu. Noted. I used an outdated default sway configuration when defining default variables, my bad. This will not be modified in the v6 (as I send it right away), but should be done later; I have added a comment in the code to remind me of that. > Do we have an API stability guarantee that `%sway-default-packages' will > remain the same? I guess we better try not to remove packages from it > in the future but get it right from the start. Indeed, this would be better. As mentioned above, I will try to minimise this list and only keep packages that are necessary for using sway. I will try to report on that within the week. >> I will add a note in the next version of the doc, to hint towards the >> two solutions to use a svg file: adding librsvg to the profile, or >> computing the png and put it in the store using a "computed-file" in the >> configuration (as in the second version of the patch). > > Do we need a computed-file example? [...] Rationale: [...] Thank you for this thorough testing and associated explanation. I agree with you and have removed this example from the documentation (only leaving the note that librsvg is needed in the profile in order to use svg files). Best, =2D-=20 Arnaud --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEEMgqfJ4U0fby1t860ojLKXoMTiAwFAmbzwUQQHGRzLWFjQG5h bmVpbi5mcgAKCRCiMspegxOIDDLmD/9mkq0SoHhaz91H7rJUI2DhkD0V0PGb+t1c spAw8opIVr00DDbsy9Pyyuv9uzROBe0Iv1F2RfzoEnLSSy32WaepFnUSv4XtGY35 2NPAe+1h/03K+hQHNnxs+2Hye6CfhtVdNDim4WjCbUPkTqqVRhvvLqDVRo3NoPff yzZJflp23yWtkd2jzzExV7faM/Y+im0CopZz2WXnHo5dAAUeZoYQ3m5EytbtRfOW Jj6JgYxm/N0/O/DxyUqs4tru2GX2Ivn45t6dvDG57EQqXozWzXmCgEaSS+0PJtzd ZbRbBYLkPw9qheO+R1/q2XnwwnS2It9hb+v8nwyV4nh1YrBctUOaSf+bdd+IYC9f QlwtPdtsdef8NX34OCpGaWJr25NjtpEBBIH7dwvCqe7a7SD6AO6w2y5FR9CU6IBJ PJGNEDbX+aYYGBJk55xfePcm2FN5GH7v/F4mPvQKWtBKtRhNZvVdz72MYr4iArYZ ei/U4ibNROv8852Fr8m7QYhYR0DIFuIMWCHzlFP5drkpoRB9kTzdbmFSbWZsVDWM A4VPysVv4WVneM5cqE4017KT9qD/48CApDVrMVYjMJXYNXxPV8nLfOWsk3lzY8sy yf5YeppgLLnddCHASlGIKkNB7pbSDK+mkTR7y2A7at73eQ/bklWqldD0Eel5MNDr jUii2FyvKA== =ol8n -----END PGP SIGNATURE----- --=-=-=--