aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/qscope
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/.local/scripts/qscope')
-rwxr-xr-xScripts/.local/scripts/qscope2
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/.local/scripts/qscope b/Scripts/.local/scripts/qscope
index 0ae22cb..bd62e3a 100755
--- a/Scripts/.local/scripts/qscope
+++ b/Scripts/.local/scripts/qscope
@@ -1,3 +1,3 @@
#!/usr/bin/env sh
-pgrep ".*" -l | dmenu -p "Choose process: " | sed "s/\\([0-9]*\\).*/\1/g" | xargs kill -9 $1
+pgrep ".*" -l | dmenu -p "Choose process: " | awk '{ print $1 }' | xargs kill -9 $1