summaryrefslogtreecommitdiff
path: root/scripts/int_display_refresh-rate
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:17:03 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:17:03 -0700
commit7b21727285e50b0b050c4ddd70d07542229c5366 (patch)
tree5d369153c5df5b41f3750d25479a68f20169c8ff /scripts/int_display_refresh-rate
init
Diffstat (limited to 'scripts/int_display_refresh-rate')
-rwxr-xr-xscripts/int_display_refresh-rate10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/int_display_refresh-rate b/scripts/int_display_refresh-rate
new file mode 100755
index 0000000..4f5dfc7
--- /dev/null
+++ b/scripts/int_display_refresh-rate
@@ -0,0 +1,10 @@
+#!/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