diff options
Diffstat (limited to 'gui/devices')
-rw-r--r-- | gui/devices/landscape/res/landscape.xml | 2 | ||||
-rw-r--r-- | gui/devices/portrait/res/portrait.xml | 2 | ||||
-rw-r--r-- | gui/devices/watch/res/watch.xml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gui/devices/landscape/res/landscape.xml b/gui/devices/landscape/res/landscape.xml index 902994917..2bed2a578 100644 --- a/gui/devices/landscape/res/landscape.xml +++ b/gui/devices/landscape/res/landscape.xml @@ -2589,7 +2589,7 @@ <action function="set">tw_brightness=%tw_brightness_max%</action> <action function="compute">tw_brightness*%tw_brightness_pct%</action> <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> + <action function="setbrightness">%tw_brightness%</action> </actions> </object> diff --git a/gui/devices/portrait/res/portrait.xml b/gui/devices/portrait/res/portrait.xml index 6a3618e62..0be685517 100644 --- a/gui/devices/portrait/res/portrait.xml +++ b/gui/devices/portrait/res/portrait.xml @@ -2628,7 +2628,7 @@ <action function="set">tw_brightness=%tw_brightness_max%</action> <action function="compute">tw_brightness*%tw_brightness_pct%</action> <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> + <action function="setbrightness">%tw_brightness%</action> </actions> </object> diff --git a/gui/devices/watch/res/watch.xml b/gui/devices/watch/res/watch.xml index b4b7062fe..686b24b3f 100644 --- a/gui/devices/watch/res/watch.xml +++ b/gui/devices/watch/res/watch.xml @@ -2592,7 +2592,7 @@ <action function="set">tw_brightness=%tw_brightness_max%</action> <action function="compute">tw_brightness*%tw_brightness_pct%</action> <action function="compute">tw_brightness/100</action> - <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> + <action function="setbrightness">%tw_brightness%</action> </actions> </object> |