Skip to content

Commit

Permalink
chore: Make CSS Loader theme updater slightly less noisy
Browse files Browse the repository at this point in the history
chore: Remove unneeded overrides, disable notifications for ublue-update by default
chore(readme): Add TuneD & ublue-update build status
chore(readme): Mention CSS loader theme ujust commands
  • Loading branch information
KyleGospo committed Jan 26, 2024
1 parent d7c5e52 commit 7ab2e88
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
6 changes: 2 additions & 4 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ RUN rpm-ostree override replace \
rpm-ostree override replace \
--experimental \
--from repo=copr:copr.fedorainfracloud.org:ublue-os:staging \
power-profiles-daemon \
fontconfig

# Remove unneeded packages
Expand Down Expand Up @@ -265,10 +264,10 @@ RUN rpm-ostree install \
rpm-ostree install \
ublue-update && \
sed -i '1s/^/[include]\npaths = ["\/etc\/ublue-os\/topgrade.toml"]\n\n/' /usr/etc/ublue-update/topgrade-user.toml && \
sed -i 's/min_battery_percent.*/min_battery_percent = 30.0/' /usr/etc/ublue-update/ublue-update.toml && \
sed -i 's/min_battery_percent.*/min_battery_percent = 20.0/' /usr/etc/ublue-update/ublue-update.toml && \
sed -i 's/max_cpu_load_percent.*/max_cpu_load_percent = 100.0/' /usr/etc/ublue-update/ublue-update.toml && \
sed -i 's/max_mem_percent.*/max_mem_percent = 90.0/' /usr/etc/ublue-update/ublue-update.toml && \
sed -i 's/dbus_notify.*/dbus_notify = true/' /usr/etc/ublue-update/ublue-update.toml && \
sed -i 's/dbus_notify.*/dbus_notify = false/' /usr/etc/ublue-update/ublue-update.toml && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-staging.repo && \
rpm-ostree install \
nerd-fonts && \
Expand Down Expand Up @@ -665,7 +664,6 @@ RUN /tmp/image-info.sh && \
rm -f /usr/share/applications/com.github.maliit.keyboard.desktop \
; fi && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/input-remapper-gtk.desktop && \
sed -i 's/dbus_notify.*/dbus_notify = false/' /usr/etc/ublue-update/ublue-update.toml && \
cp "/usr/share/ublue-os/firstboot/yafti.yml" "/usr/etc/yafti.yml" && \
sed -i 's/#HandlePowerKey=poweroff/HandlePowerKey=suspend/g' /etc/systemd/logind.conf && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,18 @@ If you're using this image on a handheld other than the Steam Deck, you can get

If you're using a handheld supported by [hhd](https://github.com/hhd-dev/hhd) <sub><sup>(Such as the Lenovo Legion Go and the ASUS Ally)</sup></sub>, you can also get the plugin to integrate an option menu for it into game mode with: `ujust get-hhd-decky`

We also ship `ujust` commands to install various CSS Loader themes that can't be found on the CSS Loader store. These will be automatically updated with Bazzite if installed.
```bash
# Install ROG Ally Theme for CSS Loader (https://github.com/semakusut/SBP-ROG-Ally)
ujust install-rog-ally-theme

# Install Lenovo Legion Go for CSS Loader (https://github.com/frazse/SBP-Legion-Go-Theme)
ujust install-legion-go-theme

# Install PS5-to-Xbox glyph theme for hhd & CSS Loader (https://github.com/frazse/PS5-to-Xbox-glyphs)
ujust install-hhd-xbox-glyph-theme
```

#### ASUS Ally

Bazzite has separate images specific for the ASUS Ally due to extra driver & software requirements for that hardware. You can pick the Ally images from the installer, or rebase using one of the following:
Expand Down Expand Up @@ -298,7 +310,6 @@ Ported SteamOS and ChimeraOS packages, among others used by Bazzite, are built o
| steamdeck-kde-presets | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/steamdeck-kde-presets/status_image/last_build.png?) |
| steamdeck-kde-presets-desktop | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/steamdeck-kde-presets-desktop/status_image/last_build.png?) |
| steam_notif_daemon | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/steam_notif_daemon/status_image/last_build.png?) |
| [tuned](https://github.com/redhat-performance/tuned)-ppd | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/tuned/status_image/last_build.png?)
| udisks2 | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/udisks2/status_image/last_build.png?) |
| upower | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/upower/status_image/last_build.png?) |
| vpower | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/vpower/status_image/last_build.png?) |
Expand All @@ -324,6 +335,8 @@ Additionally, the following packages are used from other Copr repos:
| [rom-properties](https://copr.fedorainfracloud.org/coprs/kylegospo/rom-properties/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/rom-properties/package/rom-properties/status_image/last_build.png?) |
| [steamdeck-kmod](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/jupiter-kmod/status_image/last_build.png?) |
| [system76-scheduler](https://copr.fedorainfracloud.org/coprs/kylegospo/system76-scheduler/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/system76-scheduler/package/system76-scheduler/status_image/last_build.png?) |
| [tuned](https://github.com/redhat-performance/tuned)-ppd | ![Build Status](https://copr.fedorainfracloud.org/coprs/ublue-os/staging/package/tuned/status_image/last_build.png?) |
| [ublue-update](https://github.com/ublue-os/ublue-update) | ![Build Status](https://copr.fedorainfracloud.org/coprs/ublue-os/staging/package/ublue-update/status_image/last_build.png?) |
| [VTFLib](https://copr.fedorainfracloud.org/coprs/kylegospo/VTFLib/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/VTFLib/package/VTFLib/status_image/last_build.png?) |
| [wallpaper-engine-kde-plugin](https://copr.fedorainfracloud.org/coprs/kylegospo/wallpaper-engine-kde-plugin/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/wallpaper-engine-kde-plugin/package/wallpaper-engine-kde-plugin/status_image/last_build.png?) |
| [webapp-manager](https://copr.fedorainfracloud.org/coprs/kylegospo/webapp-manager/) | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/webapp-manager/package/webapp-manager/status_image/last_build.png?) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ if [ -d "$HOME/homebrew/themes/Adwaita-for-Steam/.git" ]; then
echo "Adwaita for Steam theme found, pulling latest with git."
git pull
echo "Update complete."
else
echo -e "\nNothing to do."
fi

# ROG Ally Theme
Expand All @@ -19,8 +17,6 @@ if [ -d "$HOME/homebrew/themes/SBP-ROG-Ally/.git" ]; then
echo "SBP-ROG-Ally theme found, pulling latest with git."
git pull
echo "Update complete."
else
echo -e "\nNothing to do."
fi

# Legion GO Theme
Expand All @@ -29,8 +25,6 @@ if [ -d "$HOME/homebrew/themes/SBP-Legion-Go-Theme/.git" ]; then
echo "SBP-Legion-Go-Theme theme found, pulling latest with git."
git pull
echo "Update complete."
else
echo -e "\nNothing to do."
fi

# HHD Theme
Expand All @@ -39,8 +33,6 @@ if [ -d "$HOME/homebrew/themes/PS5-to-Xbox-glyphs/.git" ]; then
echo "PS5 to Xbox Glyphs theme found, pulling latest with git."
git pull
echo "Update complete."
else
echo -e "\nNothing to do."
fi

exit 0

0 comments on commit 7ab2e88

Please sign in to comment.