From 2f90522c18eebf8f30b9eb278babce1993c84a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Drahn=C3=ADk?= Date: Tue, 5 Nov 2024 16:07:16 +0100 Subject: [PATCH] Added missing removing temp files for leds of camera & micmute keys after restoring --- conf/default.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/default.py b/conf/default.py index cc78da8..8cb06c7 100644 --- a/conf/default.py +++ b/conf/default.py @@ -6,9 +6,9 @@ # setting up saved capslock backlight brightness (restore from backup) "test -f /tmp/input_capslock_brightness && cat /tmp/input_capslock_brightness | sudo tee /sys/class/leds/input*::capslock/brightness", # setting up saved micmute backlight brightness (restore from backup) - "test -f /tmp/micmute_brightness && cat /tmp/micmute_brightness | sudo tee /sys/class/leds/platform::micmute/brightness", + "test -f /tmp/micmute_brightness && cat /tmp/micmute_brightness | sudo tee /sys/class/leds/platform::micmute/brightness && rm /tmp/micmute_brightness", # setting up saved camera backlight brightness (restore from backup) - "test -f /tmp/camera_brightness && echo '0x60079' | sudo tee '/sys/kernel/debug/asus-nb-wmi/dev_id' >/dev/null && cat /tmp/camera_brightness | sudo tee '/sys/kernel/debug/asus-nb-wmi/ctrl_param' && sudo cat '/sys/kernel/debug/asus-nb-wmi/devs' >/dev/null" + "test -f /tmp/camera_brightness && echo '0x60079' | sudo tee '/sys/kernel/debug/asus-nb-wmi/dev_id' >/dev/null && cat /tmp/camera_brightness | sudo tee '/sys/kernel/debug/asus-nb-wmi/ctrl_param' && sudo cat '/sys/kernel/debug/asus-nb-wmi/devs' >/dev/null && rm /tmp/camera_brightness" ] tablet_mode_actions = [