Give EWW scripts proper extensions
This commit is contained in:
parent
448bdfc231
commit
287df92d65
13 changed files with 11 additions and 11 deletions
14
eww/scripts/backlight.sh
Executable file
14
eww/scripts/backlight.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/env sh
|
||||
|
||||
DELTA="1%"
|
||||
|
||||
case "$1" in
|
||||
up) brightnessctl -m -c backlight set +"$DELTA"
|
||||
;;
|
||||
down) brightnessctl -m -c backlight set "$DELTA"-
|
||||
;;
|
||||
get) brightnessctl -m -c backlight get
|
||||
;;
|
||||
*) echo "Unrecognized command"; exit 1
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue