From a37e83fb2383467648e29d47c519534a02b5e67f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 29 Apr 2026 07:55:41 -0700 Subject: [PATCH] Install Hyprland rofi window picker --- nixos/hyprland.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixos/hyprland.nix b/nixos/hyprland.nix index 7eef2975..9549cf4e 100644 --- a/nixos/hyprland.nix +++ b/nixos/hyprland.nix @@ -18,6 +18,17 @@ let inputs.hyprNStack.packages.${system}.hyprNStack inputs.hyprland-plugins-lua.packages.${system}.hyprexpo ]; + hyprRofiWindow = pkgs.writeShellApplication { + name = "hypr_rofi_window"; + runtimeInputs = [ + pkgs.python3 + pkgs.rofi + hyprlandInput.packages.${system}.hyprland + ]; + text = '' + exec python3 ${../dotfiles/lib/bin/hypr_rofi_window} "$@" + ''; + }; hyprscratchSettings = { daemon_options = "clean"; global_options = ""; @@ -194,6 +205,7 @@ let ddcutil # Monitor input switching over DDC/CI # For scripts + hyprRofiWindow jq ] ++ luaPluginPackages