add keybinds for rotation

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

View file

@ -15,7 +15,7 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,highres@highrr,auto,auto, transform, 0
monitor=,highres@highrr,auto,auto,transform, 0
# Scalling
xwayland {
@ -250,7 +250,7 @@ bindl =, switch:off:[Lid Switch], exec, hyprctl sleep
binde = $mainMod, D, exec, makoctl dismiss
bind = $mainMod SHIFT, D, exec, makoctl dismiss -a
#Move focus with mainMod + vim keys
# Move focus with mainMod + vim keys
bind = $mainMod, H, movefocus, l
bind = $mainMod, J, movefocus, d
bind = $mainMod, K, movefocus, u
@ -274,6 +274,12 @@ binde = $mainMod SHIFT, I, resizeactive, 0 50
binde = $mainMod SHIFT, O, resizeactive, 0 -50
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]