From 488b9fc447699c6291e55714f76f6f92d9786316 Mon Sep 17 00:00:00 2001 From: joy Date: Mon, 16 Sep 2024 20:37:19 +0200 Subject: [PATCH] hypr --- modules/hypr/clip/default.nix | 9 +++++++++ modules/hypr/default.nix | 2 +- modules/hypr/land/default.nix | 17 +---------------- modules/hypr/misc/default.nix | 12 ++++++++++++ modules/hypr/{style => theme}/default.nix | 0 modules/hypr/{style => theme}/gtk/default.nix | 0 .../hypr/{style => theme}/gtk/gruvbox-plus.nix | 0 modules/hypr/{style => theme}/qt/default.nix | 0 .../hypr/{style => theme}/stylix/default.nix | 0 .../hypr/{style => theme}/stylix/wallpaper.png | Bin 10 files changed, 23 insertions(+), 17 deletions(-) create mode 100644 modules/hypr/clip/default.nix create mode 100644 modules/hypr/misc/default.nix rename modules/hypr/{style => theme}/default.nix (100%) rename modules/hypr/{style => theme}/gtk/default.nix (100%) rename modules/hypr/{style => theme}/gtk/gruvbox-plus.nix (100%) rename modules/hypr/{style => theme}/qt/default.nix (100%) rename modules/hypr/{style => theme}/stylix/default.nix (100%) rename modules/hypr/{style => theme}/stylix/wallpaper.png (100%) diff --git a/modules/hypr/clip/default.nix b/modules/hypr/clip/default.nix new file mode 100644 index 0000000..4db3f91 --- /dev/null +++ b/modules/hypr/clip/default.nix @@ -0,0 +1,9 @@ +{pkgs, ...}: { + home-manager.users.joy = { + home.packages = with pkgs; [ + wl-clipboard + ]; + + services.cliphist.enable = true; + }; +} diff --git a/modules/hypr/default.nix b/modules/hypr/default.nix index 58c9984..cc4252c 100644 --- a/modules/hypr/default.nix +++ b/modules/hypr/default.nix @@ -3,6 +3,6 @@ ./ags ./idle ./land - ./style + ./theme ]; } diff --git a/modules/hypr/land/default.nix b/modules/hypr/land/default.nix index b12a6c5..74ebe82 100644 --- a/modules/hypr/land/default.nix +++ b/modules/hypr/land/default.nix @@ -1,23 +1,8 @@ -{pkgs, ...}: { +{...}: { programs.hyprland = { enable = true; }; home-manager.users.joy = { - home.packages = with pkgs; [ - rofi-wayland - pwvucontrol - swww - wl-clipboard - cliphist - grim - slurp - hyprpicker - swappy - playerctl - ]; - - services.cliphist.enable = true; - wayland.windowManager.hyprland = { enable = true; settings = { diff --git a/modules/hypr/misc/default.nix b/modules/hypr/misc/default.nix new file mode 100644 index 0000000..406e818 --- /dev/null +++ b/modules/hypr/misc/default.nix @@ -0,0 +1,12 @@ +{pkgs,...}: { + home-manager.users.joy = { + home.packages = with pkgs; [ + pwvucontrol + grim + slurp + hyprpicker + swappy + playerctl + ]; + }; +} diff --git a/modules/hypr/style/default.nix b/modules/hypr/theme/default.nix similarity index 100% rename from modules/hypr/style/default.nix rename to modules/hypr/theme/default.nix diff --git a/modules/hypr/style/gtk/default.nix b/modules/hypr/theme/gtk/default.nix similarity index 100% rename from modules/hypr/style/gtk/default.nix rename to modules/hypr/theme/gtk/default.nix diff --git a/modules/hypr/style/gtk/gruvbox-plus.nix b/modules/hypr/theme/gtk/gruvbox-plus.nix similarity index 100% rename from modules/hypr/style/gtk/gruvbox-plus.nix rename to modules/hypr/theme/gtk/gruvbox-plus.nix diff --git a/modules/hypr/style/qt/default.nix b/modules/hypr/theme/qt/default.nix similarity index 100% rename from modules/hypr/style/qt/default.nix rename to modules/hypr/theme/qt/default.nix diff --git a/modules/hypr/style/stylix/default.nix b/modules/hypr/theme/stylix/default.nix similarity index 100% rename from modules/hypr/style/stylix/default.nix rename to modules/hypr/theme/stylix/default.nix diff --git a/modules/hypr/style/stylix/wallpaper.png b/modules/hypr/theme/stylix/wallpaper.png similarity index 100% rename from modules/hypr/style/stylix/wallpaper.png rename to modules/hypr/theme/stylix/wallpaper.png