added scripts

This commit is contained in:
kenji
2025-12-24 22:34:08 -06:00
parent ad64748ad7
commit fa1baa128f
2 changed files with 18 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
{
imports = [
../../script/hakase-lauch-or-focus-tui.nix
];
}
+13
View File
@@ -0,0 +1,13 @@
{pkgs, ...}: let
hakase-launch-or-focus-tui = pkgs.writeShellScriptBin "omarchy-focus-wrapper" ''
# The Nix version of your script
APP_ID="org.omarchy.$(basename "$1")"
LAUNCH_COMMAND="omarchy-launch-tui $@"
exec omarchy-launch-or-focus "$APP_ID" "$LAUNCH_COMMAND"
'';
in {
environment.systemPackages = [
hakase-launch-or-focus-tui
];
}