mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
feat: Steam's System settings and About this System like on SteamOS: OS name, Steamify as OS variant and version, serial number and Wi-Fi backend on a Steam Machine
This commit is contained in:
1 parent
b59ab1b464
commit
fadfd1d0a9
9 files changed
+141
-3
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# Installed by Steamify CachyOS (SteamOS conversion): what Steam shows in its
|
||||
# System settings. The OS name is `lsb_release -d` (DISTRIB_DESCRIPTION in
|
||||
# /etc/lsb-release); the version comes from /etc/os-release's VARIANT and
|
||||
# VERSION_ID. CachyOS's hooks reset lsb-release on updates of lsb-release and
|
||||
# cachyos-hooks; the zz-steamify-os-release hook runs this after them.
|
||||
# os-release's NAME and PRETTY_NAME stay CachyOS's: limine-snapper-sync finds
|
||||
# the boot entries by the OS name.
|
||||
sed -i 's|^DISTRIB_DESCRIPTION=.*$|DISTRIB_DESCRIPTION="CachyOS with Steamify"|' /etc/lsb-release
|
||||
sed -i -e '/^VARIANT=/d' -e '/^VARIANT_ID=/d' -e '/^VERSION_ID=/d' /etc/os-release
|
||||
printf '%s\n' 'VARIANT="Steamify"' 'VARIANT_ID=steamify' 'VERSION_ID=@VERSION@' >> /etc/os-release
|
||||
Reference in new issue
Block a user