index
:
config_local_arch
ba
ca
ib
master
pp
Device dependent config files for Arch Linux, managed by https://git.flylightning.xyz/fsh/tree/sh/cfg (git bare repo method)
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
home
/
xyz
/
.local
/
bin
Age
Commit message (
Expand
)
Author
2022-01-04
always vpn
xyz
2022-01-03
upd, sudo units_cur
xyz
2021-12-26
switch to pacman neovim, use echo 1 instead of yes 1
xyz
2021-12-23
upd
#!/bin/sh
# adjust backlight
brightness
=
$
(
cat
/
sys
/
class
/
backlight
/
intel_backlight
/
brightness
)
max_brightness
=
$
(
cat
/
sys
/
class
/
backlight
/
intel_backlight
/
max_brightness
)
step
=
$
((
max_brightness
/
20
))
while
getopts
ud opt
;
do
case
$opt
in
u
)
case
"
$brightness
"
in
0
)
echo
1
;;
1
)
echo
"
$step
"
;;
*)
echo
"$((brightness+step))"
;;
esac
;;
d
)
case
"
$brightness
"
in
1
)
echo
0
;;
"
$step
"
)
echo
1
;;
*)
echo
"$((brightness-step))"
;;
esac
;;
\?
)
exit
1
;;
esac
done
|
sudo
tee
/
sys
/
class
/
backlight
/
intel_backlight
/
brightness
> /
dev
/
null