diff --git a/README.md b/README.md index b798b970..b123202e 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ You will need to install the current main branch of mkosi to build current ParticleOS images. First, configure the variant you'd like to build in `mkosi.local.conf`. For a -desktop system, you'll want the `desktop` profile and either the `gnome` or the -`kde` profile. +desktop system, you'll want the `desktop` and one of `gnome`, `kde`, or +`sway` profiles. ```conf [Distribution] diff --git a/mkosi.profiles/sway/mkosi.conf b/mkosi.profiles/sway/mkosi.conf new file mode 100644 index 00000000..b8ef6079 --- /dev/null +++ b/mkosi.profiles/sway/mkosi.conf @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +# Requires desktop profile + +[Content] +Packages= + blueman + dunst + foot + grim + gvfs + imv + kanshi + lxqt-policykit + network-manager-applet + pavucontrol + pinentry-gnome3 + playerctl + pulseaudio-utils + rofi + rofimoji + sddm + slurp + sway + swaybg + swayidle + swaylock + system-config-printer + waybar + wev + wl-clipboard + wlr-randr + wlsunset + xarchiver + xdg-desktop-portal-gtk + xdg-desktop-portal-wlr diff --git a/mkosi.profiles/sway/mkosi.conf.d/debian/mkosi.conf b/mkosi.profiles/sway/mkosi.conf.d/debian/mkosi.conf new file mode 100644 index 00000000..dbe2de42 --- /dev/null +++ b/mkosi.profiles/sway/mkosi.conf.d/debian/mkosi.conf @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +Distribution=debian + +[Content] +Packages= + fonts-font-awesome + fprintd + gvfs-backends + libpam-gnome-keyring + thunar + thunar-archive-plugin + xwayland diff --git a/mkosi.profiles/sway/mkosi.conf.d/fedora/mkosi.conf b/mkosi.profiles/sway/mkosi.conf.d/fedora/mkosi.conf new file mode 100644 index 00000000..a6a6f23a --- /dev/null +++ b/mkosi.profiles/sway/mkosi.conf.d/fedora/mkosi.conf @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +Distribution=fedora + +[Content] +Packages= + fontawesome-6-brands-fonts + fontawesome-6-free-fonts + fprintd-pam + gnome-keyring-pam + gvfs-smb + plymouth-system-theme + polkit + sddm-wayland-sway + sway-config-fedora + Thunar + thunar-archive-plugin + tuned-switcher + xorg-x11-server-Xwayland diff --git a/mkosi.profiles/sway/mkosi.extra/usr/lib/tmpfiles.d/particleos-sway.conf b/mkosi.profiles/sway/mkosi.extra/usr/lib/tmpfiles.d/particleos-sway.conf new file mode 100644 index 00000000..d00c7855 --- /dev/null +++ b/mkosi.profiles/sway/mkosi.extra/usr/lib/tmpfiles.d/particleos-sway.conf @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +# Enable sway and sddm configuration +L /etc/sddm.conf - - - - +L /etc/sddm.conf.d - - - - +L /etc/sddm - - - - +L /etc/sway - - - - +L /etc/swaylock - - - -