diff --git a/items/virtual.items b/items/virtual.items index 710164f..e0dd70b 100644 --- a/items/virtual.items +++ b/items/virtual.items @@ -2,6 +2,6 @@ /* czy jesteśmy dłużej poza domem? */ Switch sHolidayVacancy "Jesteśmy poza domem" -/* przelaczanie karty graficznej w tryb performance jest tu przy okazji */ -Switch sBCacheWriteback "Bcache w trybie writeback" { exec=">[ON:systemctl start toggle-bcache@writeback toggle-amdgpu@auto] >[OFF:systemctl start toggle-bcache@writearound toggle-amdgpu@low]" } +/* target przełączają bcache (writeback/writethrough), amdgpu (auto/low), cpu governor (schedutil, powersave) */ +Switch sHighPerformance "Komputer w trybie wydajnym" { exec=">[ON:systemctl start power-balance.target] >[OFF:systemctl start power-conserve.target]" } diff --git a/rules/salon.kodi.rules b/rules/salon.kodi.rules index 59ce528..20c3b2d 100644 --- a/rules/salon.kodi.rules +++ b/rules/salon.kodi.rules @@ -13,7 +13,7 @@ then Mpd_quodlibet_StartStop_expected.postUpdate(Mpd_quodlibet_StartStop.state) Mpd_quodlibet_StartStop.sendCommand(OFF) - sBCacheWriteback.sendCommand(ON) + sHighPerformance.sendCommand(ON) end @@ -54,6 +54,6 @@ then sSONOFF09b.sendCommand(ON) } - sBCacheWriteback.sendCommand(OFF) + sHighPerformance.sendCommand(OFF) end diff --git a/sitemaps/tech.sitemap b/sitemaps/tech.sitemap index 79806e1..157fcbe 100644 --- a/sitemaps/tech.sitemap +++ b/sitemaps/tech.sitemap @@ -4,7 +4,7 @@ sitemap pbrk label="Szczegóły techniczne" Text item=dtSunset_Time Text item=wClouds Switch item=sHolidayVacancy - Switch item=sBCacheWriteback + Switch item=sHighPerformance } Group label="Łączność" {