18 lines
496 B
Bash
Executable File
18 lines
496 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# aktuell wirds zwar nicht mehr dunkler bei jedem ausführen, dafür ändert es aber auch nicht den Rotanteil
|
|
redshiftflag="/home/rob/code/lokale-scripte/redshift_on"
|
|
|
|
if [ -f $redshiftflag ]
|
|
then
|
|
echo redshift -O 5700
|
|
redshift -O 5700
|
|
# xrandr --output LVDS-1 --brightness 1
|
|
rm $redshiftflag
|
|
else
|
|
echo redshift -O 3600
|
|
redshift -O 3600
|
|
# xrandr --output LVDS-1 --brightness 1
|
|
echo "diese datei ist da um zu zeigen ob der bildschirm schon rot ist" > "$redshiftflag"
|
|
fi
|