From c4e935e3d64e55410b171ed4e323959cf23d2b6c Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 23 Oct 2025 00:13:20 +0100 Subject: make qscope a single pipe --- Scripts/.local/scripts/qscope | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Scripts') diff --git a/Scripts/.local/scripts/qscope b/Scripts/.local/scripts/qscope index 9849cf5..0ae22cb 100755 --- a/Scripts/.local/scripts/qscope +++ b/Scripts/.local/scripts/qscope @@ -1,4 +1,3 @@ #!/usr/bin/env sh -pid=$(pgrep ".*" -l | dmenu -p "Choose process: " | sed "s/\\([0-9]*\\).*/\1/g") -kill -9 $pid +pgrep ".*" -l | dmenu -p "Choose process: " | sed "s/\\([0-9]*\\).*/\1/g" | xargs kill -9 $1 -- cgit v1.2.3-13-gbd6f