formatting

master
BodgeMaster 2021-05-01 07:03:13 +02:00
parent 6998bf839c
commit 72b38fbe5c
1 changed files with 4 additions and 2 deletions

View File

@ -4,10 +4,12 @@ Just a collection of random useful code snippets (that can be used as programs o
## Descriptions for each code snippet ## Descriptions for each code snippet
[disable_laptop_lid.sh](./disable_laptop_lid.sh) ### [disable_laptop_lid.sh](./disable_laptop_lid.sh)
Disables laptop lid state detection in Linux by unregistering it from the driver. Disables laptop lid state detection in Linux by unregistering it from the driver.
Dependencies: Linux kernel, bash, sysfs filesystem mounted on /sys Dependencies: Linux kernel, bash, sysfs filesystem mounted on /sys
[sensors.py](./sensors.py) ### [sensors.py](./sensors.py)
Can be used to get the state of a hardware sensor connected to the computer. Can be used to get the state of a hardware sensor connected to the computer.
Dependencies: lm-sensors, python3 Dependencies: lm-sensors, python3