From 9616c5cce7682db495ea24235aba137d5c2af9fc Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 3 May 2022 10:01:39 +0200 Subject: [PATCH] home: wm: i3: simplify 'htop' rule Turns out you can chain commands with `,` in a `for_window` statement. Of course this is inconsistent with `bindsym` which uses `;`... --- home/wm/i3/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/home/wm/i3/default.nix b/home/wm/i3/default.nix index ead5df9..57235ef 100644 --- a/home/wm/i3/default.nix +++ b/home/wm/i3/default.nix @@ -376,11 +376,7 @@ in # Make htop window bigger { criteria = { title = "^htop$"; }; - command = "resize set 80 ppt 80 ppt"; - } - { - criteria = { title = "^htop$"; }; - command = "move position center"; + command = "resize set 80 ppt 80 ppt, move position center"; } ]; };