added refresh rate toggle

This commit is contained in:
2024-10-02 10:40:03 -05:00
parent 46ebfc5cb6
commit 7f9dab07d1
2 changed files with 26 additions and 24 deletions

View File

@@ -75,8 +75,8 @@
# #
#------------------------------------------------#
monitor=eDP-1,1920x1080@300,0x0,1
#monitor=eDP-1, addreserved, 0, 0, 45, 0
monitor=eDP-1,1920x1080@60,0x0,1
exec-once=onSystemStart
@@ -230,6 +230,8 @@ bind = , XF86AudioPrev, exec, ${pkgs.playerctl}/bin/playerctl previous
bind = , XF86Launch2, exec, steam &
bind = $mainMod, XF86Launch2, exec, prismlauncher
bind = CTRL SHIFT, XF86Launch2, exec, if [[ $(hyprctl monitors | grep 0x0 | sed -n -e "s/\t*1920x1080@//" -e "s/.[1234567890]* at 0x0//p") == 300 ]]; then hyprctl keyword monitor eDP-1,1920x1080@60,0x0,1; else hyprctl keyword monitor eDP-1,1920x1080@300,0x0,1; fi
bind = , XF86Calculator, exec, geogebra
bind = $mainMod SHIFT, Print, exec, firefox --new-window localhost:631