From 8d3020ef8469d3350b756c5f0daa4442e852ba2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Sat, 27 Dec 2025 06:51:42 +0100 Subject: [PATCH] vim-typewriter: fullscreen on start --- packages/vim-typewriter.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/vim-typewriter.nix b/packages/vim-typewriter.nix index ec0c5e1..92ef973 100644 --- a/packages/vim-typewriter.nix +++ b/packages/vim-typewriter.nix @@ -2,6 +2,7 @@ neovim, vimPlugins, writers, + wmctrl, ... }: let @@ -50,4 +51,8 @@ let }; }; in -writers.writeDashBin "vim-typewriter" ''${vim-typewriter}/bin/nvim "$@"'' +writers.writeDashBin "vim-typewriter" '' + # tell the window manager to fullscreen the nvim window + ${wmctrl}/bin/wmctrl -r :ACTIVE: -b add,fullscreen + ${vim-typewriter}/bin/nvim "$@ +"''