Skip to content

Commit

Permalink
Added missing removing temp files for leds of camera & micmute keys a…
Browse files Browse the repository at this point in the history
…fter restoring
  • Loading branch information
ldrahnik committed Nov 5, 2024
1 parent 2812c7b commit 2f90522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 2f90522

Please sign in to comment.