add brightness and stuff
This commit is contained in:
parent
555b570d1d
commit
c2073a8440
1
Makefile
1
Makefile
|
@ -35,6 +35,7 @@ sh:
|
|||
cp -f sh/net $(DESTDIR)$(PREFIX)/bin
|
||||
cp -f sh/bspwm-toggle-gaps $(DESTDIR)$(PREFIX)/bin
|
||||
cp -f sh/machine $(DESTDIR)$(PREFIX)/bin
|
||||
cp -f sh/brightness $(DESTDIR)$(PREFIX)/bin
|
||||
|
||||
check:
|
||||
shellcheck sh/*
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
brightness=$(printf "250\n500\n1000\n2000\n3000\n4000\n" | tmenu)
|
||||
st -c st-gpg-menu -e sh -c "sudo sh -c \"echo $brightness >> /sys/class/backlight/intel_backlight/brightness\""
|
Loading…
Reference in New Issue