dotfiles/config/scripts/jour
Geoffrey Frogeye 4030606ec8
Add screen brightness in jour/nuit/crepuscule
Wanted to do that in Ansible but those things have been living in the
script themselves forever and making this repo never fully commited,
got fed up of that and made a loosy "if $HOSTNAME" so I can move on wit
it.
Still need to do the same on the other devices though.
2022-11-04 14:12:16 +01:00

8 lines
222 B
Bash
Executable file

#!/usr/bin/env bash
if [ "$(cat /etc/hostname)" = "curacao.geoffrey.frogeye.fr" ]
then
echo 40000 | sudo tee /sys/class/backlight/intel_backlight/brightness
fi
automatrop -e base16_scheme=solarized-light --tags color