Sway profile

UPDATE: the changes to the arm-installer and arm-profiles have been merged upstream and are available in the standard ManjaroARM repos: https://gitlab.manjaro.org/manjaro-arm/applications/arm-profiles

Hey,

after testing Sway today I was really bought into it. So I checked the official Manjaro ARM Installer repository (https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-installer) for a way to get a custom Sway profile into it.

After all I forked both repositories and added a sway configuration:

and did some test-runs....

The result is looking promising so far, and if you would like to check it out and give feedback, this would be very appreciated.

2 Likes

It looks nice. :slight_smile:

I'm not a tiling WM guy, so I can't give much feedback as to what it needs etc. :slight_smile:

1 Like

Can you create an unofficial 1080p pinebook image? Thanks.

The idea with the installer, is that you create the install directly on the SD/eMMC card. The Installer cannot create an image.

1 Like

I did some good improvements on the sway profile over the last days. Yesterday I found greetd and gtkgreet as a nice alternative to a Display Manager and integrated them as well. As they are only available via AUR I'm not quite sure if the manjaro-arm-installer will take them up if I add them to the profile....?!?

Short recording: https://fosstodon.org/@appelgriebsch/104087281237666167

1 Like

Looks really good!

Have you tried wlogout? It's friendly enough logout manager.

I wonder if I could reference some of your work to make a slim Wayfire profile? I didn't have much success so far (mostly due to sddm problems). Though my daily diver is closer to Wayfire-Plasma setup :smiley:

1 Like

They won't. The installer will only be able to use packages in the repo.

Was already expecting this... will think about a solution on the upcoming long weekend :slight_smile:

Thanks for your feedback. Feel free to re-use parts as needed and thanks for the link to wlogout. Looks great.

Created a project here: https://sr.ht/~appelgriebsch/manjaro-arm-sway-profile/. It includes mailing lists and bug tracker, so you can also give feedback and discuss future improvements.

2 Likes

OK, so I come up with a dedicated repo for AUR packages that I added as pre-build binaries to the release... (https://git.sr.ht/~appelgriebsch/manjaro-arm-aur-packages/refs/0.1.0).

What will be the best approach to include a bash-script that will install and configure those during the first boot?

Create a package like sway-post-installand add the content and script in .installfile.
We do that based on the devices like pinebookpro-post-install

Follow this for reference.
Include .install in PKGBUILD and inside .install file use post_install array.

More about array's here

1 Like

Hey,

thanks for this reply, but it won't solve the issue I'm trying to tackle. As part of the manjaro-arm-installer process I would like to refer to 3rd party packages, which I've prepared from AUR pkgbuild scripts and which are necessary for my sway installation. As those packages are not part of the official Manjaro ARM repositories they could not be linked in the editions section directly.

So my proposal (https://todo.sr.ht/~appelgriebsch/manjaro-arm-sway-profile/6) would be to create an additional section such as oem/sway, which just list a couple of 3rd party packages that should be installed during the manjaro-arm-installer setup (via pacman -U).

Makes sense?

You have to change the installer to do this then.
Add a line after the the regular pacman install command, that installs your packages.
And then add your 3rd party repo, to the /var/tmp/manjaro-arm-installer/root/etc/pacman.conf (also via the installer script, just before this part, but after extraction of rootfs) so they will get picked up, when you run the installer command.

3 Likes

Hey, any link how to setup and host a custom package repository? Static file hosting should be sufficient, right? Is there some structure / meta data required?

You need something like this, just a web hosted version.

1 Like

Happy to announce that the first release of my custom #swaywm image for the #PinebookPro based on @ManjaroLinuxARM is ready to be released. Look for an upcoming blog post about it here: https://www.appelgriebsch.org

2 Likes

I will admit I can't figure out sourcehut. Where exactly are your configs for sway?

Why are you choosing to install neofetch and neovim... and why wofi and bemenu. Mostly just wondering...

As this is a customized version of the official manjaro-arm-installer with it's installation profile(s), you will find two repos on SourceHut:

In addition to that I also have a custom repo with some pre-build packages from AUR (https://git.sr.ht/~appelgriebsch/manjaro-arm-aur-packages) that hosts required and meaningful things for an end-to-end wayland desktop experience (e.g. logon shell, logout overlay window, ...).

I also tried to put in meaningful, but still lightweight default packages. Wofi is a wayland based replacement for rofi and is currently used for the application selector. bemenu is a wayland based alternative to dmenu and can be considered a more light competitor. In a later stage I would like to give ppl. choices for their preferred launchers, themes and such (in the same way as regolith-linux does for their i3-based desktop).

Forum kindly sponsored by