scripts
This commit is contained in:
commit
6e5095f3cf
35 changed files with 453 additions and 0 deletions
22
dwm/ubright.sh
Executable file
22
dwm/ubright.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
case $1 in
|
||||
up)
|
||||
if [ $(brightnessctl -d intel_backlight get) -lt 1200 ]; then
|
||||
brightnessctl -d intel_backlight set 10%
|
||||
else
|
||||
brightnessctl -d intel_backlight set 10%+
|
||||
fi;;
|
||||
down)
|
||||
brightnessctl -d intel_backlight set 10%-;;
|
||||
max)
|
||||
brightnessctl -d intel_backlight set 100%;;
|
||||
min)
|
||||
brightnessctl -d intel_backlight set 1;;
|
||||
red)
|
||||
redshift -O 3000k;;
|
||||
white)
|
||||
redshift -x;;
|
||||
esac
|
||||
|
||||
kill -47 $(pidof dwmblocks)
|
||||
Loading…
Add table
Add a link
Reference in a new issue