From 17f115029860e85dac48c314828a9271e939ef04 Mon Sep 17 00:00:00 2001 From: joshashtondev Date: Thu, 17 Sep 2026 14:14:16 -0600 Subject: [PATCH] =?UTF-8?q?nixos:=20gen=2036=20@=20lilac=20=E2=80=94=20202?= =?UTF-8?q?6-09-17=2014:14=2026.05.20260814.02e0898=20(Yarara)=20-----?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/jashton.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home/jashton.nix b/home/jashton.nix index 45aaab6..6ae73dc 100644 --- a/home/jashton.nix +++ b/home/jashton.nix @@ -62,6 +62,18 @@ in custom_wvkbd + (pkgs.writeShellScriptBin "fkill" '' + if [ -z "$1" ]; then + echo "Need the name of one application" + echo "eg. fkill google-chrome" + exit 1 + fi + + PROGRAM=$1 + + ps aux | grep $PROGRAM | awk '{print $2}' | xargs kill + '') + (pkgs.writeShellScriptBin "find-open-port" '' if [ -z "$1" ]; then echo "Please provide an application name, project directory, or other identifier."