From fcd7bb539aa6930d7cba8381bc9a3b6608ad6393 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 21 Feb 2019 22:07:25 +0100 Subject: Improvise rofi task launcher `tasker` opens a rofi selection of all scripts found in `~/.local/share/tasks`. This is useful for launching e.g. project specific nix-shells, vim instances and so on. Actual tasks are not included at this point as they are still quite rudimentary. This vision is that this develops into a Nix and XMonad integrated project manager that: * Automatically clones the project repository if it is not already available * Allows for (optional) central management of nix-shell derivations * Allows for easy isolation of project-specific UI utilities * Enables convenient launching of build and test scripts --- gui/xmonad.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gui/xmonad.nix') diff --git a/gui/xmonad.nix b/gui/xmonad.nix index 52de48d..f265278 100644 --- a/gui/xmonad.nix +++ b/gui/xmonad.nix @@ -26,9 +26,13 @@ in { }; }; - home.packages = with pkgs; [ + home.packages = let + tasker = pkgs.lib.callPackageWith pkgs ./pkgs/tasker.nix { }; + in with pkgs; [ # lockscreen i3lock + # task launcher + tasker ]; services.screen-locker = { -- cgit v1.2.3