~smlavine/scripts

84944d9d0af54333d34760a1960bed06a4af571c — Sebastian LaVine a month ago eccd7cf
quitdwm: Split sed and cut to clarify comment
1 files changed, 2 insertions(+), 1 deletions(-)

M src/quitdwm
M src/quitdwm => src/quitdwm +2 -1
@@ 12,7 12,8 @@ then
	ps --sort -etime a o pid,etime,tty,comm |
		grep ' dwm$' |
		dmenu -n -l 6 -sb 'dark green' -p "Which one?" |
		sed 's/^ *//' | cut -d' ' -f1 | # ps(1) outputs leading spaces
		sed 's/^ *//' | # ps(1) outputs leading spaces
		cut -d' ' -f1 |
		xargs kill

fi