diff options
author | Christian Hesse <mail@eworm.de> | 2024-12-10 20:32:50 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-12-17 11:20:09 +0100 |
commit | d70efe910ae3a9bef3ee6b62c0fd6d591bab89e3 (patch) | |
tree | 5351eaa76bd1232a7506d1f859f7213ccb083c92 /global-config.rsc | |
parent | c311e58d998fabc7568acd77f0a8bd42468f50b0 (diff) |
mode-button: support led toggle without extra script
Diffstat (limited to 'global-config.rsc')
-rw-r--r-- | global-config.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global-config.rsc b/global-config.rsc index 2ed67f3..5292853 100644 --- a/global-config.rsc +++ b/global-config.rsc @@ -186,7 +186,7 @@ # Run different commands with multiple mode-button presses. :global ModeButton { - 1="/system/script/run leds-toggle-mode;"; + 1="/system/leds/settings/set all-leds-off=(({ \"never\"=\"immediate\"; \"immediate\"=\"never\" })->[ get all-leds-off ]);"; 2=":global Identity; :global SendNotification; :global SymbolForNotification; \$SendNotification ([ \$SymbolForNotification \"earth\" ] . \"Hello...\") (\"Hello world, \" . \$Identity . \" calling!\");"; 3="/system/shutdown;"; 4="/system/reboot;"; |