#!/bin/sh prev=$(xbacklight -get) xbacklight -steps 100 -time 200 $(($prev + $1))