mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 13:32:15 -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
|
let
|
||||||
inherit (flake.config.machines) devices;
|
inherit (flake.config.machines) devices;
|
||||||
|
|
@ -18,20 +24,20 @@ let
|
||||||
|
|
||||||
superBinds = builtins.map (x: "SUPER, " + x) [
|
superBinds = builtins.map (x: "SUPER, " + x) [
|
||||||
# Apps
|
# Apps
|
||||||
"Z, exec, obsidian"
|
"Z, exec, ${lib.getExe pkgs.obsidian}"
|
||||||
"H, exec, feishin"
|
"H, exec, ${lib.getExe pkgs.feishin}"
|
||||||
"G, exec, scrcpy"
|
"G, exec, ${lib.getExe pkgs.scrcpy}"
|
||||||
"R, exec, thunar"
|
"S, exec, ${lib.getExe pkgs.steam}"
|
||||||
"S, exec, steam"
|
"N, exec, ${lib.getExe pkgs.signal-desktop-bin}"
|
||||||
"N, exec, signal-desktop"
|
"T, exec, ${lib.getExe pkgs.zed-editor}"
|
||||||
"T, exec, zeditor"
|
"B, exec, ${lib.getExe pkgs.floorp-bin}"
|
||||||
"B, exec, floorp"
|
"X, exec, ${lib.getExe pkgs.freetube}"
|
||||||
"X, exec, freetube"
|
"V, exec, ${lib.getExe pkgs.vesktop}"
|
||||||
"V, exec, vesktop"
|
"M, exec, ${lib.getExe pkgs.element-desktop}"
|
||||||
"M, exec, element-desktop"
|
"D, exec, ${lib.getExe pkgs.ghostty}"
|
||||||
"D, exec, ghostty"
|
"P, exec, ${lib.getExe pkgs.bitwarden}"
|
||||||
"P, exec, bitwarden"
|
"F, exec, ${lib.getExe pkgs.ghostty} -e ${lib.getExe pkgs.zellij} a dotfiles"
|
||||||
"F, exec, ghostty -e zellij a dotfiles"
|
"R, exec, ${lib.getExe pkgs.ghostty} -e ${lib.getExe pkgs.yazi}"
|
||||||
# Workspaces
|
# Workspaces
|
||||||
"1, workspace, 1"
|
"1, workspace, 1"
|
||||||
"2, workspace, 2"
|
"2, workspace, 2"
|
||||||
|
|
@ -51,6 +57,10 @@ let
|
||||||
"Up, movefocus, u"
|
"Up, movefocus, u"
|
||||||
"Down, movefocus, d"
|
"Down, movefocus, d"
|
||||||
"Right, movefocus, r"
|
"Right, movefocus, r"
|
||||||
|
"C, movefocus, l"
|
||||||
|
"A, movefocus, u"
|
||||||
|
"E, movefocus, d"
|
||||||
|
"I, movefocus, r"
|
||||||
"minus, splitratio, -0.166"
|
"minus, splitratio, -0.166"
|
||||||
"equal, splitratio, 0.166"
|
"equal, splitratio, 0.166"
|
||||||
"bracketleft, splitratio, -0.166"
|
"bracketleft, splitratio, -0.166"
|
||||||
|
|
@ -85,6 +95,10 @@ let
|
||||||
"Up, movewindow, u"
|
"Up, movewindow, u"
|
||||||
"Down, movewindow, d"
|
"Down, movewindow, d"
|
||||||
"Right, movewindow, r"
|
"Right, movewindow, r"
|
||||||
|
"C, movewindow, l"
|
||||||
|
"A, movewindow, u"
|
||||||
|
"E, movewindow, d"
|
||||||
|
"I, movewindow, r"
|
||||||
];
|
];
|
||||||
|
|
||||||
shiftBinds = builtins.map (x: "SHIFT, " + x) [
|
shiftBinds = builtins.map (x: "SHIFT, " + x) [
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
flake,
|
flake,
|
||||||
config,
|
config,
|
||||||
osConfig,
|
osConfig,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
@ -9,7 +11,14 @@ let
|
||||||
configPath = ./config;
|
configPath = ./config;
|
||||||
configImports = {
|
configImports = {
|
||||||
animations = import (configPath + /animations.nix);
|
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);
|
bindm = import (configPath + /bindm.nix);
|
||||||
binds = import (configPath + /binds.nix);
|
binds = import (configPath + /binds.nix);
|
||||||
# bindl = import (configPath + /bindl.nix);
|
# bindl = import (configPath + /bindl.nix);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue