diff --git a/flake.lock b/flake.lock index 8bba93b3..d7671eea 100644 --- a/flake.lock +++ b/flake.lock @@ -176,11 +176,11 @@ }, "flake-private": { "locked": { - "lastModified": 1755267322, - "narHash": "sha256-uL6Ps+sF1OD5/pXkXBXSLmzDAFPIaiOuN+alO7r/itI=", + "lastModified": 1755291684, + "narHash": "sha256-odToLtFoY6GJQWqOksrDW4vCYIvA/utOkwjAedQpJ0w=", "ref": "main", - "rev": "9b71a0ee60c4c618d4df25f771e177a1a708300c", - "revCount": 7, + "rev": "88b0a0e5b1bb9bd25803e5c2c4d6aacb54205786", + "revCount": 8, "type": "git", "url": "ssh://git@git.firelilith.org/lilith/flake-private.git" }, diff --git a/home/lilith/hyprland/hyprgrass.nix b/home/lilith/hyprland/hyprgrass.nix index 571c0b99..819c1ae9 100644 --- a/home/lilith/hyprland/hyprgrass.nix +++ b/home/lilith/hyprland/hyprgrass.nix @@ -11,13 +11,22 @@ plugins = [ hyprgrass.packages.${pkgs.system}.default ]; settings.plugin.touch_gestures = { - sensitivity = 2.0; + sensitivity = 4.0; + workspace_swipe = true; workspace_swipe_fingers = 3; - workspace_swipe_edge = "d"; + workspace_swipe_cancel_ratio = 0.15; - long_press_delay = 500; + long_press_delay = 400; resize_on_border_long_press = true; - edge_margin = 20; + edge_margin = 30; + + hyprgrass-bind = [ + ", edge:r:u, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+" + ", edge:r:d, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-" + ", swipe:3:u, togglespecialworkspace, keepass" + ", swipe:3:u, exec, if (( $(pgrep keepassxc -c) < 2 )); then keepassxc; fi" + ", longpress:3, killactive" + ]; }; }; } diff --git a/home/lilith/hyprland/keys.nix b/home/lilith/hyprland/keys.nix index 340daeaf..24ade55b 100644 --- a/home/lilith/hyprland/keys.nix +++ b/home/lilith/hyprland/keys.nix @@ -24,10 +24,10 @@ "SUPER, K, movefocus, u" "SUPER, J, movefocus, d" - "SUPER ALT, H, moveactive, l" - "SUPER ALT, L, moveactive, r" - "SUPER ALT, K, moveactive, u" - "SUPER ALT, J, moveactive, d" + "SUPER ALT, H, swapwindow, l" + "SUPER ALT, L, swapwindow, r" + "SUPER ALT, K, swapwindow, u" + "SUPER ALT, J, swapwindow, d" "SUPER, 1, workspace, 1" "SUPER, 2, workspace, 2" diff --git a/home/lilith/packages.nix b/home/lilith/packages.nix index d7749519..3698ee3a 100644 --- a/home/lilith/packages.nix +++ b/home/lilith/packages.nix @@ -1,6 +1,8 @@ -{ pkgs, ... }: +{ pkgs, rose-pine-hyprcursor, ... }: { home.packages = with pkgs; [ + rose-pine-hyprcursor.packages.${pkgs.system}.default + gcc gnumake git diff --git a/system/optional/stylix.nix b/system/optional/stylix.nix index 883063fd..e3361aab 100644 --- a/system/optional/stylix.nix +++ b/system/optional/stylix.nix @@ -44,12 +44,6 @@ }; }; - - cursor = { - package = pkgs.rose-pine-cursor; - name = "Rosé Pine"; - size = 10; - }; }; fonts.packages = with pkgs; [