Skip to content

Commit

Permalink
channel: added x86_64/os/lite channel
Browse files Browse the repository at this point in the history
  • Loading branch information
itsManjeet committed Aug 13, 2024
1 parent e56df4a commit df26048
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ env:
OSTREE_GPG: ${{secrets.OSTREE_GPG}}
VERSION: ${{ github.run_number }}
SOURCEFORGE_PREFIX: ${{secrets.SOURCEFORGE_PREFIX}}
CHANNEL: ${{ endsWith(github.ref, 'stable') && 'stable' || 'unstable' }}
OSTREE_BRANCH: "x86_64/os/${{ endsWith(github.ref, 'stable') && 'stable' || 'unstable' }}"
CHANNEL: ${{ endsWith(github.ref, 'stable') && 'stable' || (endsWith(github.ref, 'lite') && 'lite' || 'unstable') }}
OSTREE_BRANCH: "x86_64/os/${{ endsWith(github.ref, 'stable') && 'stable' || (endsWith(github.ref, 'lite') && 'lite' || 'unstable') }}"
APPMARKET_PATH: ${{secrets.APPMARKET_PATH}}
SIGN_KEYS_PATH: ${{secrets.SIGN_KEYS_PATH}}

Expand Down
6 changes: 4 additions & 2 deletions elements/components/cage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ id: cage
version: 0.1.5
about: A kiosk compositor for Wayland

commit: e7d8780f46277af87881e0be91cb2092541bb1d5

post-script: |-
install -v -D -m 0644 LICENSE -t ${install-root}/%{datadir}/licenses/%{id}/
depends:
- components/wlroots0.16.yml
- components/wlroots.yml
- components/x11/libxkbcommon.yml
- components/wayland.yml

Expand All @@ -16,4 +18,4 @@ build-depends:
- components/wayland-protocols.yml

sources:
- https://github.com/cage-kiosk/cage/releases/download/v%{version}/cage-%{version}.tar.gz
- cage-%{version}-%{commit}.tar.gz::https://github.com/cage-kiosk/cage/archive/%{commit}.tar.gz
85 changes: 85 additions & 0 deletions elements/components/meta-desktop-shell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
id: desktop-shell
version: 0.0.1
about: Desktop shell for rlxos

merge:
- elements/include/theme.inc

depends:
- components/swayfx.yml
- components/swaybg.yml
- components/swayidle.yml
- components/swaylock.yml
- components/cage.yml

- components/greetd.yml
- components/wlgreet.yml

- components/i3blocks.yml
- components/rofi.yml
- components/bemenu.yml
- components/foot.yml
- components/brightnessctl.yml
- components/pipewire.yml
- components/pamixer.yml
- components/mako.yml
- components/playerctl.yml
- components/iio-sway.yml
- components/psmisc.yml
- components/wvkbd.yml
- components/wob.yml
- components/grimshot.yml
- components/sfwbar.yml

- components/fonts/ibm-plex.yml
- components/fonts/noto.yml
- components/fonts/noto-cjk.yml
- components/fonts/noto-emoji.yml
- components/fonts/adobe-source-code-pro-fonts.yml
- components/fonts/ibm-plex-nerd-fonts.yml

- components/themes/qogir-icon-theme.yml
- components/themes/qogir-gtk-theme.yml


script: |-
install -v -D -m 0755 /dev/stdin %{install-root}%{libdir}/systemd/systemd-preset << "EOF"
enable greetd
EOF
install -v -D -m 0644 /files/backgrounds/default.jpg %{install-root}%{datadir}/backgrounds/default.jpg
install -v -D -m 0644 /files/backgrounds/default_blur.jpg %{install-root}%{datadir}/backgrounds/default_blur.jpg
mkdir -p %{install-root}%{sysconfdir}/xdg/
for dir in sway swaylock greetd wob; do
cp -rf /files/$dir %{install-root}%{sysconfdir}/
done
mkdir -p %{install-root}%{datadir}/
cp -rf /files/rofi %{install-root}%{datadir}/
for script in Powermenu TabletMode ; do
install -vDm 0755 /files/scripts/$script -t %{install-root}%{bindir}/
done
for dir in foot ; do
cp -rf /files/$dir %{install-root}%{sysconfdir}/xdg/
done
install -vDm 0644 /files/i3blocks/i3blocks.conf -t %{install-root}%{sysconfdir}/
for script in audio battery network ; do
install -vDm 0755 /files/i3blocks/${script}.sh -t %{install-root}%{libdir}/i3blocks/
done
install -vDm 0644 /files/dialogrc -t %{install-root}%{sysconfdir}/
install -vDm0644 /dev/stdin %{install-root}/%{datadir}/glib-2.0/schemas/10_rlxos-default-settings.gschema.override << "EOF"
[org.gnome.desktop.interface]
gtk-theme="Qogir-Light"
icon-theme="Qogir"
cursor-theme="Qogir"
font-name="%{font_theme}"
monospace-font-name="Source Code Pro 12"
font-antialiasing = "rgba"
EOF
1 change: 1 addition & 0 deletions elements/components/playerctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ build-depends:
- components/gobject-introspection.yml
- components/gtk-doc.yml
- components/meson.yml
- components/py/py-packaging.yml

sources:
- playerctl-%{version}.tar.gz::https://github.com/altdesktop/playerctl/archive/refs/tags/v%{version}.tar.gz
2 changes: 1 addition & 1 deletion elements/components/sfwbar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ build-depends:
- components/wayland-protocols.yml

sources:
- sfwbar-%{version}.tar.gz::https://github.com/LBCrion/sfwbar/archive/refs/tags/v1.0_beta14.tar.gz
- sfwbar-%{version}.tar.gz::https://github.com/LBCrion/sfwbar/archive/refs/tags/v1.0_beta15.tar.gz
7 changes: 2 additions & 5 deletions elements/platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ depends:
- components/fuse2.yml

- components/xdg-desktop-portal-gtk.yml
- components/xdg-desktop-portal-xapp.yml
- components/xdg-desktop-portal-wlr.yml
- components/xdg-dbus-proxy.yml
- components/wireplumber.yml
- components/gnome-keyring.yml
Expand Down Expand Up @@ -98,9 +98,7 @@ depends:
- components/ntfs-3g.yml
- components/file-roller.yml

- components/meta-xfce4.yml
- components/meta-x11.yml
- components/lightdm.yml
- components/meta-desktop-shell.yml
- components/epdfview.yml

- components/firefox.yml
Expand All @@ -117,4 +115,3 @@ depends:
- system/etc-skel.yml
- system/etc-sysctl.yml
- system/etc-default-useradd.yml
- system/x11-config.yml
Binary file removed files/backgrounds/default-blur.jpg
Binary file not shown.
Binary file modified files/backgrounds/default.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added files/backgrounds/default_blur.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions files/initial-setup/first-boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ sudo install -v -D -m 0644 /dev/stdin /etc/greetd/config.toml << EOF
vt = 1
[default_session]
command = "sway --config /etc/greetd/sway-config"
command = "sway --unsupported-gpu --config /etc/greetd/sway-config"
[initial_session]
command = "sway --config /etc/sway/config-locked"
command = "sway --unsupported-gpu --config /etc/sway/config-locked"
user = "${ISE_USERNAME}"
EOF

Expand Down

0 comments on commit df26048

Please sign in to comment.