mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
feat: updated hyprland binds
This commit is contained in:
parent
206415a6f7
commit
ba2a1a8a3a
2 changed files with 39 additions and 16 deletions
|
|
@ -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) [
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue