From f559322224cc3bfa6c1d37631fb6dc5fa93449b9 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 28 May 2021 20:38:43 -0400 Subject: List windows with /window Reuse the /window command to preserve /wi abbreviation. --- command.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'command.c') diff --git a/command.c b/command.c index ef82d30..4c290fc 100644 --- a/command.c +++ b/command.c @@ -373,8 +373,9 @@ static void commandQuery(uint id, char *params) { } static void commandWindow(uint id, char *params) { - if (!params) return; - if (isdigit(params[0])) { + if (!params) { + uiWindows(); + } else if (isdigit(params[0])) { uiShowNum(strtoul(params, NULL, 10)); } else { id = idFind(params); -- cgit 1.4.1 lue='master' selected='selected'>master dontfiles
summary refs log tree commit diff
path: root/.ncmpcpp (unfollow)
Commit message (Collapse)Author
2013-04-06Drop pacman-color, regular pacman now has colorJune McEnroe
2013-04-06Restore wallpaper automaticallyJune McEnroe
2013-03-22Simplify autostartJune McEnroe
2013-02-24Default to Ruby 2.0June McEnroe
2013-01-26Make pretty riplrcJune McEnroe
2013-01-26Default to awesome sessionJune McEnroe
2013-01-26Add git promptJune McEnroe
2013-01-26Actually port awesome config to 3.5June McEnroe
2013-01-26Make pretty zshrcJune McEnroe
2013-01-26Port awesome config to 3.5June McEnroe
2013-01-26Replace RVM with chrubyJune McEnroe