mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
feat: HDMI-CEC ticked by default on a Steam Machine
This commit is contained in:
1 parent
d9d4f3e3f8
commit
8eaf3353f5
4 files changed
+11
-5
No files matched your search
+3
-1
@@ -13,7 +13,8 @@ ACTIONS=(bios)
|
||||
declare -A PARENT=([boot]=gaming [kpin]=machine)
|
||||
# Never preselected on a first run: booting into the desktop is a choice,
|
||||
# gamescope is the default; HDMI-CEC is opt-in (it can wake the machine or
|
||||
# upset other devices on the TV, even on SteamOS).
|
||||
# upset other devices on the TV, even on SteamOS), except on a Steam Machine,
|
||||
# which has CEC like on SteamOS.
|
||||
NO_PRESELECT=(boot cec)
|
||||
|
||||
declare -A LABEL=(
|
||||
@@ -74,6 +75,7 @@ detect_components() {
|
||||
component_available "$c" && ! is_action "$c" &&
|
||||
[[ " ${NO_PRESELECT[*]} " != *" $c "* ]] && WANTED[$c]=1
|
||||
done
|
||||
machine_available && WANTED[cec]=1
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user