bugfix red switch

This commit is contained in:
rob committed 2019-08-17 10:49:56 +02:00
1 parent 475c44cbaf
commit ecb3397133
1 file changed
+5 -5
+5 -5
View File
@@ -5,13 +5,13 @@ redshiftflag="/home/rob/code/lokale-scripte/redshift_on"
if [ -f $redshiftflag ] if [ -f $redshiftflag ]
then then
echo redshift -O 5700 echo redshift -oPO 5700
redshift -O 5700 redshift -oPO 5700
# xrandr --output LVDS-1 --brightness 1 # xrandr --output LVDS-1 --brightness 1
rm $redshiftflag rm $redshiftflag
else else
echo redshift -O 3600 echo redshift -oPO 3600
redshift -O 3600 redshift -oPO 3600
# xrandr --output LVDS-1 --brightness 1 # xrandr --output LVDS-1 --brightness 1
echo "diese datei ist da um zu zeigen ob der bildschirm schon rot ist" > "$redshiftflag" echo "diese datei ist da um zu zeigen ob der bildschirm schon rot ist" > $redshiftflag
fi fi