mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
change return to gaming mode logo to original logo
This commit is contained in:
1 parent
6be1051e28
commit
25bc8c0cda
1 file changed
+5
-5
@@ -84,12 +84,12 @@ create_desktop_shortcut() {
|
|||||||
local script_dir
|
local script_dir
|
||||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
|
||||||
if [[ -f "$script_dir/icons/steamdeck-gaming-return.svg" ]]; then
|
if [[ -f "$script_dir/icons/steam-gaming-return.svg" ]]; then
|
||||||
info "Copying icon asset to permanent system theme path..."
|
info "Copying icon asset to permanent system theme path..."
|
||||||
cp "$script_dir/icons/steamdeck-gaming-return.svg" "$secure_icon_dir/steamdeck-gaming-return.svg"
|
cp "$script_dir/icons/steam-gaming-return.svg" "$secure_icon_dir/steam-gaming-return.svg"
|
||||||
chown "$TARGET_USER:$TARGET_USER" "$secure_icon_dir/steamdeck-gaming-return.svg"
|
chown "$TARGET_USER:$TARGET_USER" "$secure_icon_dir/steam-gaming-return.svg"
|
||||||
else
|
else
|
||||||
warn "Icon asset not found at $script_dir/icons/steamdeck-gaming-return.svg - Shortcut will use fallback fallback."
|
warn "Icon asset not found at $script_dir/icons/steam-gaming-return.svg - Shortcut will use fallback fallback."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 2. Generate the .desktop shortcut with instant session switcher strings
|
# 2. Generate the .desktop shortcut with instant session switcher strings
|
||||||
@@ -101,7 +101,7 @@ create_desktop_shortcut() {
|
|||||||
Name=Return to Gaming Mode
|
Name=Return to Gaming Mode
|
||||||
Comment=Switch session back to Gamescope
|
Comment=Switch session back to Gamescope
|
||||||
Exec=steamos-session-select gamescope && sudo systemctl start sync-steamos-session.service && sudo systemctl restart plasmalogin
|
Exec=steamos-session-select gamescope && sudo systemctl start sync-steamos-session.service && sudo systemctl restart plasmalogin
|
||||||
Icon=steamdeck-gaming-return
|
Icon=steam-gaming-return
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=System;
|
Categories=System;
|
||||||
|
|||||||
Reference in new issue
Block a user