Compare commits

..

2 Commits

Author SHA1 Message Date
798ecf40a2 fix(hypr): adjust gesture settings for smoother workspace swaps
It turns out there are options for adjust the cancelling ratio and force
speed for workspace animations. This makes it much closer to real MacOS
animations.

This was tested against Jas's Macbook Air - M1 and they seem quite
closer.
2026-03-16 22:26:54 +00:00
eabcc3de6b feat(hyprland): add hypridle and lid close binds 2026-03-16 22:26:14 +00:00
5 changed files with 20 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ animations {
animation = windowsOut, 1, 4, breeze, slidefade
# Workspaces: airy glide, finishes fast
animation = workspaces, 1, 5, overshoot, slidefade
animation = workspaces, 1, 10, overshoot, slidefade
# Subtle polish
animation = fade, 1, 4, breeze

View File

@@ -0,0 +1,5 @@
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
}

View File

@@ -9,6 +9,7 @@ $browser = brave
exec-once = /usr/lib/xdg-desktop-portal-hyprland &
exec-once = /usr/lib/xdg-desktop-portal &
exec-once = hyprpaper
exec-once = hypridle
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
exec = gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-dark" # for GTK3 apps

View File

@@ -7,13 +7,12 @@ input {
follow_mouse = 1
accel_profile = flat
force_no_accel=2
sensitivity = 1
sensitivity = 0.75
touchpad {
natural_scroll = true
scroll_factor = 0.5
scroll_factor = 0.45
}
}
@@ -22,5 +21,11 @@ device {
sensitivity = 0
}
gesture = 3, horizontal, workspace
gestures {
workspace_swipe_cancel_ratio = 0
workspace_swipe_min_speed_to_force = 0
}
gesture = 3, horizontal, scale: 0.5, workspace
gesture = 3, down, fullscreen

View File

@@ -53,10 +53,12 @@ bindl = , F6, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl = , F7, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
# Playback (requires playerctl)
#bindl = , F2, exec, playerctl previous
#bindl = , F1, exec, playerctl play-pause
bindl = , F2, exec, playerctl previous
bindl = , F1, exec, playerctl play-pause
bindl = , F3, exec, playerctl next
bindl = , switch:on:Lid Switch, exec, hyprctl dispatch dpms off
bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on
bind = SUPER CTRL, left, swapwindow, l
bind = SUPER CTRL, right, swapwindow, r