Skip to content

Commit 2aead23

Browse files
committed
take 2
1 parent 9eb7469 commit 2aead23

File tree

3 files changed

+22
-25
lines changed

3 files changed

+22
-25
lines changed

Diff for: flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: home/modules/wayland/hyprland/config.nix

+15
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@
1616
in "pkill ${prog} || ${runserv} ${program}";
1717
in {
1818
wayland.windowManager.hyprland = {
19+
enable = true;
20+
21+
# plugins = with inputs.hyprland-plugins.packages.${pkgs.system}; [
22+
# # hyprbars
23+
# # hyprexpo
24+
# ];
25+
26+
systemd = {
27+
variables = ["--all"];
28+
extraCommands = [
29+
"systemctl --user stop graphical-session.target"
30+
"systemctl --user start hyprland-session.target"
31+
];
32+
};
33+
1934
settings = {
2035
"$MOD" = "SUPER";
2136
env = [

Diff for: home/modules/wayland/hyprland/default.nix

+4-22
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,15 @@
1818
};
1919
rules = import ./rules.nix;
2020
in {
21-
imports = [ rules ];
21+
imports = [rules];
2222
config =
23-
hypr-config
24-
// {
23+
{
2524
home = {
2625
packages = with pkgs; [
2726
seatd
2827
jaq
2928
];
3029
};
31-
32-
# enable hyprland
33-
wayland.windowManager.hyprland = {
34-
enable = true;
35-
36-
# plugins = with inputs.hyprland-plugins.packages.${pkgs.system}; [
37-
# # hyprbars
38-
# # hyprexpo
39-
# ];
40-
41-
systemd = {
42-
variables = ["--all"];
43-
extraCommands = [
44-
"systemctl --user stop graphical-session.target"
45-
"systemctl --user start hyprland-session.target"
46-
];
47-
};
48-
};
49-
};
30+
}
31+
// hypr-config;
5032
}

0 commit comments

Comments
 (0)