make directories implicit
This commit is contained in:
parent
7b8e7c3b27
commit
54b0942de6
44 changed files with 285 additions and 285 deletions
10
eww/scripts/brightness.sh
Executable file
10
eww/scripts/brightness.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
FILE_TO_WATCH="/sys/class/backlight/intel_backlight/brightness" # Replace with the actual file path
|
||||
|
||||
cat "$FILE_TO_WATCH"
|
||||
|
||||
while true; do
|
||||
inotifywait -e modify "$FILE_TO_WATCH"
|
||||
cat "$FILE_TO_WATCH"
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue