#!/bin/sh
LOW="xrandr --output eDP-1 --mode 2560x1600 --rate 60"
HIGH="xrandr --output eDP-1 --mode 2560x1600 --rate 165"
CHOICE=$(printf "165Hz\n60Hz" | dmenu -c -i -l 2 -p "choose refresh rate:")
case $CHOICE in
  "165Hz")
    $HIGH;;
  "60Hz")
    $LOW;;
esac
