diff options
| author | spl3g <spleefer6@yandex.ru> | 2023-12-31 15:08:06 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 14:56:39 +0300 |
| commit | b8a5c62b112859f463a53ac97b43f7f8cdc544a9 (patch) | |
| tree | 8b320bc9631fbd60ffe4b701e6afee148bb2313a /home-manager/laptop/hyprland/default.nix | |
| parent | 7db487dba2262af7b7822d110122ff496070ca92 (diff) | |
uhm
Diffstat (limited to 'home-manager/laptop/hyprland/default.nix')
| -rw-r--r-- | home-manager/laptop/hyprland/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/home-manager/laptop/hyprland/default.nix b/home-manager/laptop/hyprland/default.nix new file mode 100644 index 0000000..9f911e1 --- /dev/null +++ b/home-manager/laptop/hyprland/default.nix @@ -0,0 +1,27 @@ +{ pkgs, ... }: +let + configFile = builtins.readFile ./hyprland.conf; + scripts = '' + $scripts=${./scripts} + ''; + overrides = '' + exec-once=swww init && swww img ${./cat.png} + ''; + extraConfig = scripts + configFile + overrides; + +in +{ + home.packages = with pkgs; [ + swww + brightnessctl + slurp + grim + cliphist + xdg-desktop-portal-hyprland + ]; + wayland.windowManager.hyprland = { + enable = true; + package = pkgs.hyprland; + inherit extraConfig; + }; +} |
