text: import os
  import sys
  import time
  
  max_brightness = 26666
  inc = int(max_brightness * 0.1)
  
  stream = os.popen("cat /sys/class/backlight/intel_backlight/brightness")
  cur_brightness = int(stream.read())
  cmd = sys.argv[1]
  
  if(cmd == "dec"):
      inc *= -1 
  
  new_brightness = max(min(cur_brightness + inc, max_brightness), 0)
  print(new_brightness)
  
  stream = os.popen(f"echo {new_brightness} | tee /sys/class/backlight/intel_backlight/brightness")
  #cur_brightness = int(stream.read())
  