From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eDcOBru082Z14wAA62LTzQ:P1 (envelope-from ) for ; Wed, 25 Sep 2024 06:59:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eDcOBru082Z14wAA62LTzQ (envelope-from ) for ; Wed, 25 Sep 2024 08:59:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XuXUpVwx; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b="A/r6L1Eq"; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727247547; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=nKjvxapvzNtm5n/n1gUscQqva72rgtw/g15/Nd/gKmY=; b=TRZvwaXiKW3S/kHJ284O3bNS3ntfgjnIBke7Ggt1GaLCEfo/XMgQG0MICtaKWfWqwDUaeZ bW5Nhf7EN1ERBs9UiBf67kTm/AUD8MY59EzZtiNokACsCDND+UvSUsaXDGO8BQHxCq7rar Cz5CwNiGL+HMqjVLlcjgzZemiE1i1EZAPKjIOnrK1oNIxspL2lnKOmtnsHEJYIKvKEb3pR 6GzMsPfA4OV/CHEMd/ETZO3KACIHJQtTU8W/c+6MvuApuCPooMJAEarmQziDaNurRZSNrz d8ZLBqdoepi0jXMzLjXRSBxmEsvQS6wqUPXBeQWiiZZ2UEzL/GG4/yRbyj1/RQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727247547; a=rsa-sha256; cv=none; b=AWH+9jPxtQZqGpFWE9sDFFyMskstJ1tRdmP5VQ+ZhnCwE05xMEYSr641R2mIfyFuN1cvON /DDXjsRuRxph45NKV2loW0vFoKFZF+kGxbWCU3o+flP1i7PkHCzRdYLtv9pAU0a7p7+3Of 55lLwp7mtLsgY3USVfy/B2GdktheZeMEAgYymzRYLa4qsU+YEIxdcnSxdfT9OAwCMYpDHX dscWGjdJQIEX0NpbAhakAtutHc5beiDZzu4g2iHIi0yEo8QOG6EqUfiOhjizjpfGMh4R1V BRAdDx7WEUm+1oi3McsAdW7NcTYNbcnJ6tudSMiSPzoP2gy/MSdic1FwoGMXpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XuXUpVwx; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b="A/r6L1Eq"; dmarc=none; 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" 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 B01AA5C28E for ; Wed, 25 Sep 2024 08:59:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stLyy-0006iG-UN; Wed, 25 Sep 2024 02:58: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 1stLyw-0006hR-Ps for guix-patches@gnu.org; Wed, 25 Sep 2024 02:58:39 -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 1stLyv-0002V6-SP for guix-patches@gnu.org; Wed, 25 Sep 2024 02:58: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=nKjvxapvzNtm5n/n1gUscQqva72rgtw/g15/Nd/gKmY=; b=XuXUpVwx/ioYh8S8g0fwL41aLn6+mKJNgcyYFRfvmZ4zgE0QSOrrsh/hV7NGK3pJXCweONsIFH/ISPnxWS+Y8xcBUaRp0Ud6AVKBZ748UdLOusHlUobD+23OwMOgkcPwnyzWllbtpDbSLghORMfpQ++KjE+vBOpNXSDekTZ5uUVJqCi17hvgPLEBpMyYM3Y9MmeriEqXZsA5pD+ZogEpIrjmWacp7VJz8DC5xN4KcAmQ9VsxyB/jhHoCUtC4shxmriWwWLI1cR7wLcTbB7tFiTjkE9DwQjHcwYvyKlAZ8ve83Y8uMhJCt98LC8+t5AsUf6yC+Nll57yTAGHLG3iKzA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stLzK-00084H-8v for guix-patches@gnu.org; Wed, 25 Sep 2024 02:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72714] [PATCH v4] home: services: Add 'home-sway-service-type'. Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Sep 2024 06:59: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: Arnaud Daby-Seesaram Cc: Hilton Chain , 72714@debbugs.gnu.org Received: via spool by 72714-submit@debbugs.gnu.org id=B72714.172724753230990 (code B ref 72714); Wed, 25 Sep 2024 06:59:02 +0000 Received: (at 72714) by debbugs.gnu.org; 25 Sep 2024 06:58:52 +0000 Received: from localhost ([127.0.0.1]:42834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stLz9-00083m-HT for submit@debbugs.gnu.org; Wed, 25 Sep 2024 02:58:51 -0400 Received: from relay.yourmailgateway.de ([185.244.194.184]:57439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stLz6-00083X-Dd for 72714@debbugs.gnu.org; Wed, 25 Sep 2024 02:58:50 -0400 Received: from relay01-mors.netcup.net (localhost [127.0.0.1]) by relay01-mors.netcup.net (Postfix) with ESMTPS id 4XD6y44grfz8xp2; Wed, 25 Sep 2024 08:58:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1727247500; bh=dYKdYGEbt1KZj/vc10Q28/OP+doAxzzLDDtAIof7RJo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=A/r6L1Eqg6MhPwKF7EKlJQlqiABGLwlmCKCNJ5YHjSqc2/gJhbdzWcB/ZSEedq8/9 r4PTnCfbDhY8RdTGaGdYCzQPgs7MLOVZFTbDUlESWZk6Y6brKbZk2mcIx7v+ddG6tH Ba9CawV86aM+dBlttUkQINXhgtyKakwSMIKsQlJooZAJYGHtyEX0CSlZeoyfc1PSvf gt9onubtYHzP1yWFktD41JhjVdeEKTDhDIQXsV6FGzkm6Y/tKV2WHasOimjtfOpTBn rLlFi3LdvhE9BWwtvyD0JiRFRIgPM9eS/aj+Iln/hGtNFHb8xJXK9frzzns/yfL9UU pPyJ0wtE9BoAA== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by relay01-mors.netcup.net (Postfix) with ESMTPS id 4XD6y43zvrz7wT8; Wed, 25 Sep 2024 08:58:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4XD6y40CXHz8sYY; Wed, 25 Sep 2024 08:58:19 +0200 (CEST) Received: from florianhp (ipb2186896.dynamic.kabel-deutschland.de [178.24.104.150]) by mxe217.netcup.net (Postfix) with ESMTPSA id 69E5E841B3; Wed, 25 Sep 2024 08:58:13 +0200 (CEST) From: "pelzflorian (Florian Pelz)" In-Reply-To: <875xqn4xda.fsf@nanein.fr> (Arnaud Daby-Seesaram's message of "Sun, 22 Sep 2024 15:43:45 +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> Date: Wed, 25 Sep 2024 08:58:18 +0200 Message-ID: <87v7ykrzhx.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 69E5E841B3 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: mf3tqvvRnMary1eDchnb/8wx7V/4PCivFzb1F6twPaiFjJdgk+6sM+R2 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.11 X-Spam-Score: -6.11 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: B01AA5C28E X-TUID: 64UlMTTfwGVX Hello Arnaud. 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. 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. 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. > 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? Sway=E2=80=99s default background $(guix build sway)/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png is a .png file already. We need not use guix-backgrounds. Rationale: In the computed-file version, note that librsvg needs rust and rust does not build on i686-linux nor armhf. I tested in an i686-linux VM and the rest of your home-sway-service-type works great there (using elogind and manually running sway, because greetd would need rust). Using imagemagick=E2=80=99s convert just gives a bogus pure black .png file. I still have not found the time to look at `sway-bar' and `point' and `sway-color' and such details. Regards, Florian