fix(hyprlua): change scale keybinds from T/G to t/g

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
Amir Alexander Abdelbaki 2026-06-23 09:54:38 +02:00
parent 08e4e583a3
commit fc90432d22
1 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ Keys (normal mode):
h j k l move monitor (50 px)
H J K L move monitor (10 px fine)
u / i rotate CCW / CW
T / G scale up / scale down (valid Hyprland steps)
t / g scale up / scale down (valid Hyprland steps)
m toggle mirror (pick target) / un-mirror
n / N cycle display mode forward / backward
s save to hypr/usr/monitors.lua
@ -410,9 +410,9 @@ class App:
elif ch == ord("i"):
self.rotate_monitor(+1)
# Scale
elif ch == ord("T"):
elif ch == ord("t"):
self.scale_monitor(+1)
elif ch == ord("G"):
elif ch == ord("g"):
self.scale_monitor(-1)
# Mirror
elif ch == ord("m"):
@ -694,7 +694,7 @@ class App:
if self.mode == "mirror_pick":
text = "Tab:cycle-target Enter:confirm Esc:cancel"
else:
text = "Tab:next hjkl:move HJKL:fine u/i:rot T/G:scale m:mirror n/N:mode s:save Enter:save+quit q:quit"
text = "Tab:next hjkl:move HJKL:fine u/i:rot t/g:scale m:mirror n/N:mode s:save Enter:save+quit q:quit"
safe_addstr(self.stdscr, row, 0, text[:cols - 1], curses.color_pair(6))
# ---------------------------------------------------------------------------