summaryrefslogtreecommitdiffstats
path: root/gui/devices
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/devices/landscape/res/landscape.xml2
-rw-r--r--gui/devices/portrait/res/portrait.xml2
-rw-r--r--gui/devices/watch/res/watch.xml2
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% > &quot;%tw_brightness_file%&quot;</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% > &quot;%tw_brightness_file%&quot;</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% > &quot;%tw_brightness_file%&quot;</action>
+ <action function="setbrightness">%tw_brightness%</action>
</actions>
</object>