GNU bug report logs -
#72714
[PATCH] home: services: Add 'home-sway-service-type'.
Previous Next
Reported by: Arnaud Daby-Seesaram <ds-ac <at> nanein.fr>
Date: Mon, 19 Aug 2024 15:33:02 UTC
Severity: normal
Tags: patch
Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello Arnaud.
Arnaud Daby-Seesaram <ds-ac <at> nanein.fr> 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’s 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’s 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
This bug report was last modified 220 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.