feat: vrr for hyprland and animate windows resize

This commit is contained in:
hesam-init 2024-03-26 14:17:27 +03:30
parent 1dcf97e2d6
commit 5d1fd3435c
7 changed files with 22 additions and 20 deletions

View file

@ -6,10 +6,10 @@ bind = $mainMod, P, pseudo,
bind = $mainMod, D, togglesplit, bind = $mainMod, D, togglesplit,
bind = $mainMod, F, fullscreen, 1 bind = $mainMod, F, fullscreen, 1
bind =, F11, fullscreen, bind =, F11, fullscreen,
bind = $mainMod SHIFT, right, resizeactive, 100 0 binde = $mainMod SHIFT, right, resizeactive, 100 0
bind = $mainMod SHIFT, left, resizeactive, -100 0 binde = $mainMod SHIFT, left, resizeactive, -100 0
bind = $mainMod SHIFT, up, resizeactive, 0 -100 binde = $mainMod SHIFT, up, resizeactive, 0 -100
bind = $mainMod SHIFT, down, resizeactive, 0 100 binde = $mainMod SHIFT, down, resizeactive, 0 100
bind = $mainMod ALT, left, movewindow, l bind = $mainMod ALT, left, movewindow, l
bind = $mainMod ALT, right, movewindow, r bind = $mainMod ALT, right, movewindow, r
bind = $mainMod ALT, up, movewindow, u bind = $mainMod ALT, up, movewindow, u

View file

@ -1,8 +0,0 @@
# -----------------------------------------------------
# Misc settings
# -----------------------------------------------------
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
}

View file

@ -1 +1 @@
source = ~/.config/hypr/conf/monitors/1920x1080.conf source = ~/.config/hypr/conf/monitors/default.conf

View file

@ -1,6 +1,6 @@
# ----------------------------------------------------- # -----------------------------------------------------
# Monitor Setup # Monitor Setup
# name: "1920x1080" # name: "1920x1080"
# ----------------------------------------------------- # -----------------------------------------------------
monitor=,1920x1080@75,auto,1 monitor=,1920x1080@75,auto,1

View file

@ -1,6 +1,6 @@
# ----------------------------------------------------- # -----------------------------------------------------
# Monitor Setup # Monitor Setup
# name: "Default" # name: "Default"
# ----------------------------------------------------- # -----------------------------------------------------
monitor=,preferred,auto,1 monitor=,1920x1080@75,auto,1

View file

@ -16,4 +16,15 @@ general {
allow_tearing = false allow_tearing = false
sensitivity = 0.3 sensitivity = 0.3
} }
misc {
focus_on_activate = false
disable_hyprland_logo = true
disable_splash_rendering = true
animate_manual_resizes = true
animate_mouse_windowdragging = false
background_color = 0000
vrr = 1
vfr = false
}

View file

@ -59,7 +59,6 @@ source = ~/.config/hypr/conf/input.conf
# ----------------------------------------------------- # -----------------------------------------------------
source = ~/.config/hypr/conf/settings.conf source = ~/.config/hypr/conf/settings.conf
source = ~/.config/hypr/conf/devices.conf source = ~/.config/hypr/conf/devices.conf
source = ~/.config/hypr/conf/misc.conf
source = ~/.config/hypr/conf/decoration.conf source = ~/.config/hypr/conf/decoration.conf
source = ~/.config/hypr/conf/layout.conf source = ~/.config/hypr/conf/layout.conf
source = ~/.config/hypr/conf/keybinds.conf source = ~/.config/hypr/conf/keybinds.conf