formatting
parent
6998bf839c
commit
72b38fbe5c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue