~smlavine/scripts

167b3b33055f1f43f3b92c8da011ab9f1bd77d89 — Sebastian LaVine a month ago 8fd7e1c
src/quitdwm: Only list processes owned by the user
1 files changed, 1 insertions(+), 1 deletions(-)

M src/quitdwm
M src/quitdwm => src/quitdwm +1 -1
@@ 10,7 10,7 @@ if [ "$(printf "Y\nN" | dmenu -i -sb 'dark red' -p "Are you sure?")" = "Y" ]
then

	#shellcheck disable=SC2009
	ps --sort -etime a o pid,etime,tty,comm |
	ps --sort -etime x o pid,etime,tty,comm |
		grep ' dwm$' |
		dmenu -n -l 6 -sb 'dark green' -p "Which one?" |
		awk '{ print $1 }' |