mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
feat: Rename to Steamify CachyOS
Menu header, shortcut, release titles, README and AGENTS.md. Repository, script and URLs keep the name cachyos-gamescope-boot.
This commit is contained in:
1 parent
0607be86ac
commit
0b4a1555b7
8 files changed
+35
-27
No files matched your search
+2
-2
@@ -15,7 +15,7 @@ declare -A LABEL=(
|
||||
[theme]="Install SteamOS theme: Vapor look (cachyos-vapor)"
|
||||
[glyphs]="Install Steam Deck/Machine icons: Deck button icons in gaming mode"
|
||||
[single]="Single user mode: no password, lock screen or log out (SDDM)"
|
||||
[launcher]="Wizard shortcut: desktop icon to run this wizard again"
|
||||
[launcher]="Steamify shortcut: desktop icon to run this again"
|
||||
[machine]="Steam Machine support: LED bar driver, hardware settings in Steam"
|
||||
[bios]="Update BIOS"
|
||||
)
|
||||
@@ -104,7 +104,7 @@ run_menu() {
|
||||
draw_menu_tui() {
|
||||
local cursor="$1" i=0 c box state line
|
||||
printf '\033[H\033[2J'
|
||||
echo -e "${c_bold}CachyOS Steam Deck-style Gamescope Boot Wizard${c_reset} v$VERSION"
|
||||
echo -e "${c_bold}Steamify CachyOS${c_reset} v$VERSION"
|
||||
echo "Pick what you want. Anything you untick is put back the way it was."
|
||||
echo
|
||||
MENU_ITEMS=()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# "Wizard shortcut" menu item: a desktop icon and an app launcher entry that
|
||||
# open the newest release of this wizard in Konsole (curl | bash, like the
|
||||
# "Steamify shortcut" menu item: a desktop icon and an app launcher entry that
|
||||
# open the newest release of Steamify CachyOS in Konsole (curl | bash, like the
|
||||
# install command in the README), so it's never out of date.
|
||||
# Sourced by setup-gamescope-boot.sh; not meant to be run on its own.
|
||||
|
||||
@@ -33,10 +33,10 @@ launcher_status() {
|
||||
}
|
||||
|
||||
launcher_enable() {
|
||||
info "Adding the wizard shortcut (desktop icon and app launcher entry)..."
|
||||
info "Adding the Steamify shortcut (desktop icon and app launcher entry)..."
|
||||
install_executable "$WIZARD_LAUNCHER" 755 << EOF
|
||||
#!/bin/bash
|
||||
# Installed by cachyos-gamescope-boot: run the newest release of the wizard.
|
||||
# Installed by Steamify CachyOS: run its newest release.
|
||||
if ! curl -fsSL --max-time 30 "$WIZARD_URL" | bash; then
|
||||
echo
|
||||
echo "Couldn't download or run the wizard. Are you connected to the internet?"
|
||||
@@ -60,21 +60,21 @@ EOF
|
||||
local entry
|
||||
entry="[Desktop Entry]
|
||||
Type=Application
|
||||
Name=SteamOS Setup Wizard
|
||||
Comment=Turn the SteamOS-style parts of this PC on or off (cachyos-gamescope-boot)
|
||||
Name=Steamify CachyOS
|
||||
Comment=Turn the SteamOS-style parts of this PC on or off
|
||||
Exec=konsole -e $WIZARD_LAUNCHER
|
||||
Icon=$icon
|
||||
Terminal=false
|
||||
Categories=System;Settings;"
|
||||
Categories=Game;System;Settings;"
|
||||
printf '%s\n' "$entry" | install_executable "$WIZARD_APP_ENTRY" 644
|
||||
printf '%s\n' "$entry" | install_executable "$(wizard_desktop_file)" 755
|
||||
kbuildsycoca6 >/dev/null 2>&1 || true
|
||||
ok "Wizard shortcut added: \"SteamOS Setup Wizard\" on the desktop and in the launcher."
|
||||
ok "Steamify shortcut added: \"Steamify CachyOS\" on the desktop and in the launcher."
|
||||
}
|
||||
|
||||
launcher_disable() {
|
||||
rm -f "$(wizard_desktop_file)" "$WIZARD_APP_ENTRY" "$WIZARD_LAUNCHER" "$WIZARD_ICON"
|
||||
rmdir "$(dirname "$WIZARD_LAUNCHER")" 2>/dev/null || true
|
||||
kbuildsycoca6 >/dev/null 2>&1 || true
|
||||
ok "Wizard shortcut removed."
|
||||
ok "Steamify shortcut removed."
|
||||
}
|
||||
Reference in new issue
Block a user