hypr cnfg
This commit is contained in:
@@ -3,4 +3,31 @@
|
||||
{
|
||||
home.packages = with pkgs; [ hyprland ];
|
||||
programs.waybar = { enable = true; };
|
||||
programs.hyprpanel.enable = true;
|
||||
programs.hyprpanel.systemd.enable = true;
|
||||
programs.fuzzel.enable = true;
|
||||
|
||||
# wayland.windowManager.hyprland = {
|
||||
# enable = true;
|
||||
|
||||
# settings = {
|
||||
# "$qsConfig" = "ii";
|
||||
|
||||
# exec =
|
||||
# "hyprctl dispatch submap global"; # DO NOT REMOVE THIS OR YOU WON'T BE ABLE TO USE ANY KEYBIND
|
||||
# submap = "global"; # Required for catchall to work
|
||||
|
||||
# debug = { disable_logs = false; };
|
||||
# };
|
||||
# };
|
||||
|
||||
# imports = [
|
||||
# ./hyprland/env.nix
|
||||
# ./hyprland/execs.nix
|
||||
# ./hyprland/general.nix
|
||||
# ./hyprland/rules.nix
|
||||
# ./hyprland/colors.nix
|
||||
# ./hyprland/keybinds.nix
|
||||
# ./hyprland/active.nix
|
||||
# ];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
wayland.windowManager.hyprland.keybinds = {
|
||||
"global" = {
|
||||
"MOD+Return" = "exec alacritty";
|
||||
"MOD+d" = "exec dmenu_run";
|
||||
"MOD+Shift+q" = "closewindow";
|
||||
"MOD+q" = "killactive";
|
||||
"MOD+Shift+r" = "reload";
|
||||
"MOD+Shift+e" = "exit";
|
||||
"MOD+f" = "togglefullscreen";
|
||||
"MOD+Shift+f" = "togglesplitfullscreen";
|
||||
"MOD+h" = "focusleft";
|
||||
"MOD+l" = "focusright";
|
||||
"MOD+j" = "focusdown";
|
||||
"MOD+k" = "focusup";
|
||||
"MOD+Shift+h" = "movewindowleft";
|
||||
"MOD+Shift+l" = "movewindowright";
|
||||
"MOD+Shift+j" = "movewindowdown";
|
||||
"MOD+Shift+k" = "movewindowup";
|
||||
"MOD+Tab" = "focusnext";
|
||||
"MOD+Shift+Tab" = "focusprev";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user