add keybinds for rotation

This commit is contained in:
Yannick 2025-08-15 23:21:38 +02:00
commit 3038bf2052

View file

@ -274,6 +274,12 @@ binde = $mainMod SHIFT, I, resizeactive, 0 50
binde = $mainMod SHIFT, O, resizeactive, 0 -50 binde = $mainMod SHIFT, O, resizeactive, 0 -50
binde = $mainMod SHIFT, P, resizeactive, 50 0 binde = $mainMod SHIFT, P, resizeactive, 50 0
# Rotate screen with mainMod + Shift + r + 1-4
bind = CONTROL_ALT, 1, exec, hyprctl keyword input:touchdevice:transform 0 ; hyprctl keyword input:tablet:transform 0 ; hyprctl keyword monitor ",highres@highrr, auto, auto, transform, 0"
bind = CONTROL_ALT, 2, exec, hyprctl keyword input:touchdevice:transform 1 ; hyprctl keyword input:tablet:transform 1 ; hyprctl keyword monitor ",highres@highrr, auto, auto, transform, 1"
bind = CONTROL_ALT, 3, exec, hyprctl keyword input:touchdevice:transform 2 ; hyprctl keyword input:tablet:transform 2 ; hyprctl keyword monitor ",highres@highrr, auto, auto, transform, 2"
bind = CONTROL_ALT, 4, exec, hyprctl keyword input:touchdevice:transform 3 ; hyprctl keyword input:tablet:transform 3 ; hyprctl keyword monitor ",highres@highrr, auto, auto, transform, 3"
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0-9]