From f5ab66cc4ba7c3676d36fe5d9d4f360f0206c953 Mon Sep 17 00:00:00 2001 From: Uzair Mohammed Date: Sat, 28 Dec 2024 18:04:46 -0800 Subject: [PATCH] Attempt to replace waybar with hyprpanel --- flake.nix | 6 ++++++ home/modules/default.nix | 2 +- home/modules/{ => hyprland}/cliphist.nix | 0 home/modules/{ => hyprland}/hyprland.nix | 5 +++-- home/modules/hyprland/hyprpanel.nix | 5 +++++ home/modules/{ => hyprland}/kitty.nix | 1 + home/modules/{ => hyprland}/mako.nix | 0 home/modules/{ => hyprland}/network-manager.nix | 0 home/modules/{ => hyprland}/rofi.nix | 0 home/modules/{ => hyprland}/walker.nix | 0 home/modules/{ => hyprland}/waybar.nix | 0 home/modules/{ => hyprland}/wlogout.nix | 0 home/modules/{ => hyprland}/wlsunset.nix | 0 13 files changed, 16 insertions(+), 3 deletions(-) rename home/modules/{ => hyprland}/cliphist.nix (100%) rename home/modules/{ => hyprland}/hyprland.nix (98%) create mode 100644 home/modules/hyprland/hyprpanel.nix rename home/modules/{ => hyprland}/kitty.nix (92%) rename home/modules/{ => hyprland}/mako.nix (100%) rename home/modules/{ => hyprland}/network-manager.nix (100%) rename home/modules/{ => hyprland}/rofi.nix (100%) rename home/modules/{ => hyprland}/walker.nix (100%) rename home/modules/{ => hyprland}/waybar.nix (100%) rename home/modules/{ => hyprland}/wlogout.nix (100%) rename home/modules/{ => hyprland}/wlsunset.nix (100%) diff --git a/flake.nix b/flake.nix index 91073bc..d5541a9 100644 --- a/flake.nix +++ b/flake.nix @@ -50,6 +50,11 @@ walker = { url = "github:abenz1267/walker"; }; + + hyprpanel = { + url = "github:Jas-SinghFSU/HyprPanel"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { @@ -86,6 +91,7 @@ ./home/home.nix nixvim.homeManagerModules.nixvim walker.homeManagerModules.default + inputs.hyprpanel.homeManagerModules.hyprpanel ]; }; } diff --git a/home/modules/default.nix b/home/modules/default.nix index 26ef181..2327218 100644 --- a/home/modules/default.nix +++ b/home/modules/default.nix @@ -8,6 +8,6 @@ ./browsers.nix ./productivity.nix ./media.nix - ./hyprland.nix + ./hyprland/hyprland.nix ]; } diff --git a/home/modules/cliphist.nix b/home/modules/hyprland/cliphist.nix similarity index 100% rename from home/modules/cliphist.nix rename to home/modules/hyprland/cliphist.nix diff --git a/home/modules/hyprland.nix b/home/modules/hyprland/hyprland.nix similarity index 98% rename from home/modules/hyprland.nix rename to home/modules/hyprland/hyprland.nix index 2fec6d3..2e4f203 100644 --- a/home/modules/hyprland.nix +++ b/home/modules/hyprland/hyprland.nix @@ -5,7 +5,7 @@ }: { imports = [ ./kitty.nix - ./waybar.nix + #./waybar.nix ./mako.nix ./walker.nix ./network-manager.nix @@ -13,6 +13,7 @@ ./cliphist.nix ./wlogout.nix ./wlsunset.nix + ./hyprpanel.nix ]; home.packages = [ @@ -204,7 +205,7 @@ }; extraConfig = '' - exec-once = waybar + exec-once hyprpanel ''; }; } diff --git a/home/modules/hyprland/hyprpanel.nix b/home/modules/hyprland/hyprpanel.nix new file mode 100644 index 0000000..3047088 --- /dev/null +++ b/home/modules/hyprland/hyprpanel.nix @@ -0,0 +1,5 @@ +{ + programs.hyprpanel = { + enable = true; + }; +} diff --git a/home/modules/kitty.nix b/home/modules/hyprland/kitty.nix similarity index 92% rename from home/modules/kitty.nix rename to home/modules/hyprland/kitty.nix index 11f383a..554d8b4 100644 --- a/home/modules/kitty.nix +++ b/home/modules/hyprland/kitty.nix @@ -7,6 +7,7 @@ }; font = { name = "CaskaydiaCove Nerd Font"; + size = 12; }; }; } diff --git a/home/modules/mako.nix b/home/modules/hyprland/mako.nix similarity index 100% rename from home/modules/mako.nix rename to home/modules/hyprland/mako.nix diff --git a/home/modules/network-manager.nix b/home/modules/hyprland/network-manager.nix similarity index 100% rename from home/modules/network-manager.nix rename to home/modules/hyprland/network-manager.nix diff --git a/home/modules/rofi.nix b/home/modules/hyprland/rofi.nix similarity index 100% rename from home/modules/rofi.nix rename to home/modules/hyprland/rofi.nix diff --git a/home/modules/walker.nix b/home/modules/hyprland/walker.nix similarity index 100% rename from home/modules/walker.nix rename to home/modules/hyprland/walker.nix diff --git a/home/modules/waybar.nix b/home/modules/hyprland/waybar.nix similarity index 100% rename from home/modules/waybar.nix rename to home/modules/hyprland/waybar.nix diff --git a/home/modules/wlogout.nix b/home/modules/hyprland/wlogout.nix similarity index 100% rename from home/modules/wlogout.nix rename to home/modules/hyprland/wlogout.nix diff --git a/home/modules/wlsunset.nix b/home/modules/hyprland/wlsunset.nix similarity index 100% rename from home/modules/wlsunset.nix rename to home/modules/hyprland/wlsunset.nix