mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
feat: "Start Steam silently in desktop mode" is opt-in (it was always on); an existing systemd unit counts as on and is migrated by the update
This commit is contained in:
1 parent
23aaf0a344
commit
456b5ca883
4 files changed
+7
-5
No files matched your search
@@ -24,7 +24,9 @@ STEAM_AUTOSTART="${XDG_CONFIG_HOME:-$HOME/.config}/autostart/steam.desktop"
|
||||
STEAM_SYSTEM_DESKTOP=/usr/share/applications/steam.desktop
|
||||
|
||||
silent_status() {
|
||||
grep -qs '^Exec=.*-silent' "$STEAM_AUTOSTART"
|
||||
# The old systemd unit counts as on too (until it is migrated by an update of this option).
|
||||
grep -qs '^Exec=.*-silent' "$STEAM_AUTOSTART" ||
|
||||
[[ -f "$HOME/.config/systemd/user/steam-desktop-autostart.service" ]]
|
||||
}
|
||||
|
||||
silent_old_unit_remove() {
|
||||
|
||||
Reference in new issue
Block a user