Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
number5 committed Jun 4, 2024
1 parent 72804af commit 0205c5c
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 57 deletions.
100 changes: 59 additions & 41 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";

# hyprland

hyprland.url = "github:hyprwm/hyprland";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
hyprland.inputs.nixpkgs.follows = "nixpkgs";

hyprpaper.url = "github:hyprwm/hyprpaper";
Expand Down
26 changes: 12 additions & 14 deletions home/modules/wayland/hyprland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,20 +125,18 @@ in {
};
};

cursor = {
package = pkgs.catppuccin-cursors.macchiatoPink;
name = "Catppuccin-Macchiato-Pink-Cursors";
size = 24;
};

config = mkIf cfg.enable {
os = {
programs.hyprland = {
enable = true;
inherit (cfg) package;
};
xdg.portal.wlr.enable = lib.mkForce false;
config = let
cursor = {
package = pkgs.catppuccin-cursors.macchiatoPink;
name = "Catppuccin-Macchiato-Pink-Cursors";
size = 24;
};
in {
programs.hyprland = {
enable = true;
inherit (cfg) package;
};
xdg.portal.wlr.enable = lib.mkForce false;

home.packages = with pkgs;
with inputs.hyprcontrib.packages.${pkgs.system};
Expand Down Expand Up @@ -187,7 +185,7 @@ in {
};
};

home.xdg.configFile."hypr/hyprpaper.conf".text = ''
xdg.configFile."hypr/hyprpaper.conf".text = ''
preload=${cfg.monitors.main.wallpaper}
${
if cfg.monitors.secondary.wallpaper != null
Expand Down
1 change: 1 addition & 0 deletions parts/home_configs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ in {
{systemd.user.startServices = "legacy";}
inputs.sops-nix.homeManagerModules.sops
inputs.catppuccin.homeManagerModules.catppuccin
inputs.hyprland.homeManagerModules.default
]
++ config.modules
++ builtins.attrValues self.homeModules
Expand Down

0 comments on commit 0205c5c

Please sign in to comment.