Skip to content

Commit 52494fd

Browse files
committed
feat: Add Fedora version to Neofetch distro display
1 parent 9cbe9c6 commit 52494fd

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ RUN pip install --prefix=/usr yafti && \
7777
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-wallpaper-engine-kde-plugin.repo && \
7878
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/user.conf && \
7979
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/system.conf && \
80+
sed -i 's@VERSION_STRING@${FEDORA_MAJOR_VERSION}@g' /usr/share/ublue-os/bazzite/neofetch.conf && \
8081
systemctl disable rpm-ostreed-automatic.timer && \
8182
systemctl --global enable ublue-update.timer && \
8283
systemctl enable input-remapper.service && \
@@ -165,6 +166,7 @@ RUN sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.re
165166
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
166167
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-obs-vkcapture.repo && \
167168
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-wallpaper-engine-kde-plugin.repo && \
169+
sed -i 's@VERSION_STRING@${FEDORA_MAJOR_VERSION}@g' /usr/share/ublue-os/bazzite/neofetch.conf && \
168170
systemctl enable plasma-autologin.service && \
169171
systemctl enable jupiter-fan-control.service && \
170172
systemctl enable set-cfs-tweaks.service && \

system_files/deck/usr/share/ublue-os/bazzite/neofetch.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ print_info () {
22
info title
33
info underline
44

5-
distro="Bazzite (Steam Deck Edition) x86_64"
5+
distro="Bazzite (Steam Deck Edition) VERSION_STRING x86_64"
66
info "Host" model
77
info "OS" distro
88
info "Kernel" kernel

system_files/desktop/usr/share/ublue-os/bazzite/neofetch.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ print_info () {
22
info title
33
info underline
44

5-
distro="Bazzite x86_64"
5+
distro="Bazzite VERSION_STRING x86_64"
66
info "Host" model
77
info "OS" distro
88
info "Kernel" kernel

0 commit comments

Comments
 (0)