From 7334a84a77c9a0eae912fa68d178b9a4544eb0f6 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 29 Mar 2022 15:42:19 +0200 Subject: [PATCH] home: wm: i3: bigger 'htop' window It seems like one cannot use multiple commands in a `for_window` directive. So use two different ones. --- home/wm/i3/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/home/wm/i3/default.nix b/home/wm/i3/default.nix index c92285f..ead5df9 100644 --- a/home/wm/i3/default.nix +++ b/home/wm/i3/default.nix @@ -370,6 +370,20 @@ in # FIXME # { commdand; always; notification; } ]; + + window = { + commands = [ + # Make htop window bigger + { + criteria = { title = "^htop$"; }; + command = "resize set 80 ppt 80 ppt"; + } + { + criteria = { title = "^htop$"; }; + command = "move position center"; + } + ]; + }; }; }; };