mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
fix: Repair HDMI-CEC set up by 1.1.0/1.1.1
It only counts as on with the steam-launcher drop-in; installed without it, the menu ticks it, so a normal run adds it.
This commit is contained in:
1 parent
ce75e895c4
commit
1aa5e955fe
4 files changed
+10
-2
No files matched your search
@@ -17,6 +17,8 @@ one per merged pull request.
|
|||||||
Steam's HDMI-CEC settings (and its CEC volume buttons). HDMI-CEC now adds
|
Steam's HDMI-CEC settings (and its CEC volume buttons). HDMI-CEC now adds
|
||||||
a drop-in for `steam-launcher.service` that overrides it with
|
a drop-in for `steam-launcher.service` that overrides it with
|
||||||
`STEAM_ENABLE_CEC=1` (`/etc/steamify/steam-cec.env`).
|
`STEAM_ENABLE_CEC=1` (`/etc/steamify/steam-cec.env`).
|
||||||
|
- HDMI-CEC set up by 1.1.0/1.1.1 shows as off and ticked, so a normal run
|
||||||
|
(Enter) adds this.
|
||||||
|
|
||||||
## 1.1.1 - 2026-09-25
|
## 1.1.1 - 2026-09-25
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -32,7 +32,11 @@ cec_link_steamos_manager() {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
cec_status() { pacman -Q "${CEC_PKGS[@]}" >/dev/null 2>&1; }
|
cec_installed() { pacman -Q "${CEC_PKGS[@]}" >/dev/null 2>&1; }
|
||||||
|
# On = installed and Steam told to show its CEC settings. An install from
|
||||||
|
# before 1.1.2 lacks the latter; the menu then ticks it (see cec_repair).
|
||||||
|
cec_status() { cec_installed && [[ -f "$CEC_STEAM_DROPIN" ]]; }
|
||||||
|
cec_repair() { cec_installed && ! cec_status; }
|
||||||
|
|
||||||
fetch_holo_pkg() {
|
fetch_holo_pkg() {
|
||||||
# fetch_holo_pkg <dir> <package>: download the newest <package> from
|
# fetch_holo_pkg <dir> <package>: download the newest <package> from
|
||||||
|
|||||||
@@ -67,6 +67,8 @@ detect_components() {
|
|||||||
if "${c}_status"; then CURRENT[$c]=1; any=true; else CURRENT[$c]=0; fi
|
if "${c}_status"; then CURRENT[$c]=1; any=true; else CURRENT[$c]=0; fi
|
||||||
WANTED[$c]=${CURRENT[$c]}
|
WANTED[$c]=${CURRENT[$c]}
|
||||||
done
|
done
|
||||||
|
# HDMI-CEC set up by an older version: tick it, so a normal run fixes it.
|
||||||
|
component_available cec && cec_repair && WANTED[cec]=1
|
||||||
# Shows the current and newest BIOS version.
|
# Shows the current and newest BIOS version.
|
||||||
bios_available && { bios_lookup_newest; LABEL[bios]="$(bios_label)"; }
|
bios_available && { bios_lookup_newest; LABEL[bios]="$(bios_label)"; }
|
||||||
# First run: preselect the full SteamOS experience (never an action).
|
# First run: preselect the full SteamOS experience (never an action).
|
||||||
|
|||||||
@@ -351,7 +351,7 @@ kernel_overview() {
|
|||||||
fi
|
fi
|
||||||
echo -e " ${running}${line}"
|
echo -e " ${running}${line}"
|
||||||
done
|
done
|
||||||
cec_status && { echo; echo -e " $(cec_overview)"; }
|
cec_installed && { echo; echo -e " $(cec_overview)"; }
|
||||||
if [[ "$leds" == true ]]; then
|
if [[ "$leds" == true ]]; then
|
||||||
local loaded="$miss" nodes
|
local loaded="$miss" nodes
|
||||||
lsmod | grep -q '^leds_valve' && loaded="$mark"
|
lsmod | grep -q '^leds_valve' && loaded="$mark"
|
||||||
|
|||||||
Reference in new issue
Block a user