diff --git a/modules/home/gui/desktop/hypr/land/config/bind.nix b/modules/home/gui/desktop/hypr/land/config/bind.nix index d40dc3f..f926919 100755 --- a/modules/home/gui/desktop/hypr/land/config/bind.nix +++ b/modules/home/gui/desktop/hypr/land/config/bind.nix @@ -1,4 +1,10 @@ -{ flake, osConfig, ... }: +{ + flake, + osConfig, + pkgs, + lib, + ... +}: let inherit (flake.config.machines) devices; @@ -18,20 +24,20 @@ let superBinds = builtins.map (x: "SUPER, " + x) [ # Apps - "Z, exec, obsidian" - "H, exec, feishin" - "G, exec, scrcpy" - "R, exec, thunar" - "S, exec, steam" - "N, exec, signal-desktop" - "T, exec, zeditor" - "B, exec, floorp" - "X, exec, freetube" - "V, exec, vesktop" - "M, exec, element-desktop" - "D, exec, ghostty" - "P, exec, bitwarden" - "F, exec, ghostty -e zellij a dotfiles" + "Z, exec, ${lib.getExe pkgs.obsidian}" + "H, exec, ${lib.getExe pkgs.feishin}" + "G, exec, ${lib.getExe pkgs.scrcpy}" + "S, exec, ${lib.getExe pkgs.steam}" + "N, exec, ${lib.getExe pkgs.signal-desktop-bin}" + "T, exec, ${lib.getExe pkgs.zed-editor}" + "B, exec, ${lib.getExe pkgs.floorp-bin}" + "X, exec, ${lib.getExe pkgs.freetube}" + "V, exec, ${lib.getExe pkgs.vesktop}" + "M, exec, ${lib.getExe pkgs.element-desktop}" + "D, exec, ${lib.getExe pkgs.ghostty}" + "P, exec, ${lib.getExe pkgs.bitwarden}" + "F, exec, ${lib.getExe pkgs.ghostty} -e ${lib.getExe pkgs.zellij} a dotfiles" + "R, exec, ${lib.getExe pkgs.ghostty} -e ${lib.getExe pkgs.yazi}" # Workspaces "1, workspace, 1" "2, workspace, 2" @@ -51,6 +57,10 @@ let "Up, movefocus, u" "Down, movefocus, d" "Right, movefocus, r" + "C, movefocus, l" + "A, movefocus, u" + "E, movefocus, d" + "I, movefocus, r" "minus, splitratio, -0.166" "equal, splitratio, 0.166" "bracketleft, splitratio, -0.166" @@ -85,6 +95,10 @@ let "Up, movewindow, u" "Down, movewindow, d" "Right, movewindow, r" + "C, movewindow, l" + "A, movewindow, u" + "E, movewindow, d" + "I, movewindow, r" ]; shiftBinds = builtins.map (x: "SHIFT, " + x) [ diff --git a/modules/home/gui/desktop/hypr/land/default.nix b/modules/home/gui/desktop/hypr/land/default.nix index 724ad7a..a5317c8 100755 --- a/modules/home/gui/desktop/hypr/land/default.nix +++ b/modules/home/gui/desktop/hypr/land/default.nix @@ -2,6 +2,8 @@ flake, config, osConfig, + lib, + pkgs, ... }: let @@ -9,7 +11,14 @@ let configPath = ./config; configImports = { animations = import (configPath + /animations.nix); - bind = import (configPath + /bind.nix) { inherit flake osConfig; }; + bind = import (configPath + /bind.nix) { + inherit + flake + osConfig + lib + pkgs + ; + }; bindm = import (configPath + /bindm.nix); binds = import (configPath + /binds.nix); # bindl = import (configPath + /bindl.nix);