refactor(hyprland): move hyprland into its own module
This commit is contained in:
parent
db0a421bc5
commit
e727f25804
2 changed files with 28 additions and 26 deletions
|
@ -5,6 +5,7 @@
|
|||
../../modules/home-git.nix
|
||||
../../modules/home-tmux.nix
|
||||
../../modules/home-sh.nix
|
||||
../../modules/home-wm.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
|
@ -28,32 +29,6 @@
|
|||
home-manager.enable = true;
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
systemd.enable = false; # Required for UWSM compat
|
||||
systemd.variables = ["--all"];
|
||||
# Use tha packages defined in the system configuration
|
||||
package = null;
|
||||
portalPackage = null;
|
||||
settings = {
|
||||
monitor = [
|
||||
"HDMI-A-2, 3840x2160@60, 0x0, 2"
|
||||
"DP-4, 1920x1080@60, -1920x0, 1"
|
||||
", preferred, auto, 1"
|
||||
];
|
||||
"$terminal" = "kitty";
|
||||
"$browser" = "firefox";
|
||||
"$mainMod" = "SUPER";
|
||||
bind = [
|
||||
"$mainMod, Q, exec, uwsm app -- $terminal"
|
||||
"$mainMod, W, killactive"
|
||||
"$mainMod, E, exec, uwsm app -- $browser"
|
||||
"$mainMod, M, exec, uwsm stop"
|
||||
];
|
||||
debug.disable_logs = false;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
cliphist.enable = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue