From ea75c960e82abc91d07397d47f49fa26bbe6bb40 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 30 Apr 2026 03:13:21 -0700 Subject: [PATCH] Update hyprwinview input --- dotfiles/config/hypr/hyprland.lua | 16 +++++++++++----- nixos/flake.lock | 6 +++--- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/dotfiles/config/hypr/hyprland.lua b/dotfiles/config/hypr/hyprland.lua index dfce64f3..b7b1d7b2 100644 --- a/dotfiles/config/hypr/hyprland.lua +++ b/dotfiles/config/hypr/hyprland.lua @@ -14,7 +14,7 @@ local monocle_layout = "monocle" local minimized_workspace = "special:minimized" local current_layout = columns_layout local enable_nstack = true -local enable_hyprexpo = true +local enable_hyprexpo = false local enable_hyprwinview = true local enable_workspace_history = true local configure_nstack_plugin_from_lua = false @@ -212,8 +212,9 @@ local function apply_hyprwinview_config() app_icon_backplate_col = "rgba(00000066)", app_icon_backplate_padding = 6, animation = "workspace_zoom", - animation_in_ms = 180, - animation_out_ms = 140, + animation_in_ms = 280, + animation_out_ms = 220, + animation_speed = 1.0, animation_scale = 0.94, animation_stagger_ms = 16, animation_stagger_max_ms = 120, @@ -1664,8 +1665,13 @@ bind(main_mod .. " + E", exec("emacsclient --eval '(emacs-everywhere)'")) bind(main_mod .. " + V", exec("wl-paste | xdotool type --file -")) bind(main_mod .. " + Tab", hyprwinview("toggle")) bind(main_mod .. " + SHIFT + Tab", hyprwinview("toggle other-workspaces")) -bind("ALT + Tab", hyprexpo("toggle")) -bind("ALT + SHIFT + Tab", hyprexpo("bring")) +if enable_hyprexpo then + bind("ALT + Tab", hyprexpo("toggle")) + bind("ALT + SHIFT + Tab", hyprexpo("bring")) +else + bind("ALT + Tab", hyprwinview("toggle")) + bind("ALT + SHIFT + Tab", hyprwinview("toggle other-workspaces")) +end bind(main_mod .. " + G", exec(shell_ui_command .. " window go")) bind(main_mod .. " + B", exec(shell_ui_command .. " window bring")) bind(main_mod .. " + SHIFT + B", exec(shell_ui_command .. " window replace")) diff --git a/nixos/flake.lock b/nixos/flake.lock index 87428a30..a16bd305 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -1110,11 +1110,11 @@ ] }, "locked": { - "lastModified": 1777536892, - "narHash": "sha256-L4DF6j0gstnGN6nngU93F2XM7QmF0/G+gD9KC4jl53g=", + "lastModified": 1777543823, + "narHash": "sha256-YDdlDPXSSJMVIIihKPkfdQN4EqQwbFY6tK8AoQPJ/QI=", "owner": "colonelpanic8", "repo": "hyprwinview", - "rev": "1e88a0f318263bcc9c2e461e44436597ed73de79", + "rev": "7990fbfd3252c5dddefcee2ae839ee96b68a7def", "type": "github" }, "original": {