diff --git a/dots/.config/hypr/hyprland.conf b/dots/.config/hypr/hyprland.conf new file mode 100644 index 00000000..13eaff76 --- /dev/null +++ b/dots/.config/hypr/hyprland.conf @@ -0,0 +1,59 @@ +### Monitor Configuration ### +monitor=,preferred,auto,1 + +### Input Configuration ### +input { + kb_layout= + kb_variant= + kb_model= + kb_options= + kb_rules= + + follow_mouse=1 + + touchpad { + natural_scroll=no + } +} + + +### General Configuration ### +general { + sensitivity=1.0 + main_mod=SUPER + + gaps_in=5 + gaps_out=10 + border_size=2 + col.active_border=0x66ee1111 + col.inactive_border=0x66333333 + + apply_sens_to_raw=false + + damage_tracking=full +} + +decoration { + rounding=10 + blur=true + blur_size=3 + blur_passes=3 +} + +animations { + enabled=1 + animation=windows,1,7,default + animation=border,1,10,default + animation=fade,1,10,default + animation=workspaces,1,6,default +} + +dwindle { + pseudotile=0 # enable pseudotiling on dwindle +} + +gestures { + workspace_swipe=no +} + +source=~/.config/hypr/wm/bindings.conf diff --git a/dots/.config/hypr/wm/bindings.conf b/dots/.config/hypr/wm/bindings.conf new file mode 100644 index 00000000..4d87f807 --- /dev/null +++ b/dots/.config/hypr/wm/bindings.conf @@ -0,0 +1,54 @@ +### RESIZE ### +bind=SUPER,R,submap,resize # will switch to a submap called resize + +submap=resize # will start a submap called "resize" + +binde=,right,resizeactive,50 0 +binde=,left,resizeactive,-50 0 +binde=,up,resizeactive,0 -50 +binde=,down,resizeactive,0 50 + +bind=,escape,submap,reset # use reset to go back to the global submap +submap=reset # will reset the submap, meaning end the current one and return to the global one. + +### Move Window ### +bind=SUPER,M,submap,move_window + +submap=move_window + +bind=,right,movewindow,r +bind=,left,movewindow,l +bind=,up,movewindow,u +bind=,down,movewindow,d + +bind=,escape,submap,reset +submap=reset + +bind=SUPERSHIFT,right,movewindow,r +bind=SUPERSHIFT,left,movewindow,l +bind=SUPERSHIFT,up,movewindow,u +bind=SUPERSHIFT,down,movewindow,d + +bind=SUPER,RETURN,exec,wezterm +bind=SUPER,S,exec,wofi --show drun -o DP-3 +bind=SUPER,F,fullscreen +bind=SUPER,Q,killactive, +bind=SUPER,V,togglefloating, + +# Mediakey bindings as taken from `wev` +bindl=,XF86AudioRewind,exec,playerctl previous +bindl=,XF86AudioForward,exec,playerctl next +bindl=,XF86AudioPlay,exec,playerctl play-pause + +bind=SUPER,left,movefocus,l +bind=SUPER,right,movefocus,r +bind=SUPER,up,movefocus,u +bind=SUPER,down,movefocus,d + +bind=SUPER,H,workspace,m-1 +bind=SUPER,L,workspace,m+1 +bind=CTRLSUPER,S,togglespecialworkspace + +bind=ALTSUPER,H,movetoworkspace,e-1 +bind=ALTSUPER,L,movetoworkspace,e+1 +bind=SUPERSHIFT,S,movetoworkspace,special