From 658d489fd54b40116e36ffb45f9054ef30f63937 Mon Sep 17 00:00:00 2001 From: kenji Date: Tue, 8 Jul 2025 22:01:56 -0500 Subject: [PATCH] hyprland now uses --- packages/hyprland/default.nix | 11 +++++++++++ packages/hyprland/home.nix | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/hyprland/default.nix b/packages/hyprland/default.nix index e69de29..8ab8c5e 100644 --- a/packages/hyprland/default.nix +++ b/packages/hyprland/default.nix @@ -0,0 +1,11 @@ +{ + pkgs, + inputs, + ... +}: { + programs.hyprland = { + enable = true; + package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; + }; +} diff --git a/packages/hyprland/home.nix b/packages/hyprland/home.nix index 53eee0c..94dc3e1 100644 --- a/packages/hyprland/home.nix +++ b/packages/hyprland/home.nix @@ -11,7 +11,7 @@ "$mod" = "SUPER"; "$term" = "kitty --single-instance"; "$browser" = "firefox"; - "$bar" = "qs -c caelestia"; + # "$bar" = "qs -c caelestia"; "$wsaction" = "fish -c ./scripts/wsaction.fish"; monitor = myConfig.nixos.Hyprland.monitors; @@ -195,7 +195,8 @@ i: let ws = i + 1; in [ - "$mod, ${toString ws}, exec, $wsaction workspace, ${toString ws}" + "$mod, ${toString ws}, workspace, ${toString ws}" + # "$mod, ${toString ws}, exec, $wsaction workspace, ${toString ws}" "$mod SHIFT, ${toString ws}, movetoworkspace, ${toString ws}" ] )