dotfiles

My PC Dotfiles & Website
commit cf6cdf561b35981a7ed2716ce8f0bbae377f141e
parent 0c248290d3a4146dc49834f615a4d3e349af0341
Author: maydayv7 <maydayv7@gmail.com>
Date:   Mon,  5 Feb 2024 16:35:11 +0530

fix(Hyprland): Plugin Settings

Diffstat:

4 files changed, 25 insertions(+), 18 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -547,15 +547,15 @@ ] }, "locked": { - "lastModified": 1707110314, - "narHash": "sha256-vRAlQmJi9uFxxfpPvj0P874wxoCrbm4hDHAyH5jCfLo=", - "owner": "maydayv7", + "lastModified": 1707115426, + "narHash": "sha256-2hLPzUTsaOC8pmOSR0QEbBhtotqRVtgOSEGY+ElMkAk=", + "owner": "DreamMaoMao", "repo": "hych", - "rev": "128f0c2469d4387602df01fe0185bbe5e4ae7b5f", + "rev": "455758f8a73c3d0be8ea6b0e2e05f979f41dba8a", "type": "github" }, "original": { - "owner": "maydayv7", + "owner": "DreamMaoMao", "repo": "hych", "type": "github" } diff --git a/flake.nix b/flake.nix @@ -165,7 +165,7 @@ }; hych = { - url = "github:maydayv7/hych"; + url = "github:DreamMaoMao/hych"; inputs.hyprland.follows = "hyprland"; }; diff --git a/modules/gui/desktop/hyprland/settings/default.nix b/modules/gui/desktop/hyprland/settings/default.nix @@ -20,17 +20,24 @@ source = ~/.config/hypr/workspaces.conf '' + - # Overview + # Plugins '' plugin { + # Window Minimize + hych { + enable_alt_release_exit = 1 + alt_replace_key = code:64 + } + + # Overview hycov { - enable_gesture=1 - enable_hotarea=1 - hotarea_size=10 - only_active_workspace=1 - overview_gappi=24 - overview_gappo=60 - swipe_fingers=4 + enable_hotarea = 1 + hotarea_pos = 3 + only_active_workspace = 1 + overview_gappi = 24 + overview_gappo = 60 + enable_gesture = 1 + swipe_fingers = 4 } } ''; @@ -63,6 +70,7 @@ workspace_swipe = true; workspace_swipe_fingers = 3; workspace_swipe_forever = true; + workspace_swipe_numbered = true; }; # Tiling Layout diff --git a/modules/gui/desktop/hyprland/settings/keybindings.nix b/modules/gui/desktop/hyprland/settings/keybindings.nix @@ -6,8 +6,11 @@ _: { [ # Compositor Commands "$mod, Q, killactive," + "$mod, I, pin" "$mod, M, fullscreen, 1" "$mod SHIFT, M, fullscreen," + "ALT, Q, hych:minimize" + "ALT SHIFT, Q, hych:toggle_restore_window" # Focus Change "$mod, left, movefocus, l" @@ -46,10 +49,6 @@ _: { "ALT, up, hycov:movefocus, u" "ALT, down, hycov:movefocus, d" - # Window Minimize - "ALT, Q, hych:minimize" - "ALT SHIFT, Q, hych:toggle_restore_window" - # Cycle Workspaces "$mod, period, workspace, m-1" "$mod, comma, workspace, m+1"