From 2464e2337d99a98085b397c11c55c3bf528c0ac9 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 23 Apr 2020 14:35:44 +0200 Subject: Use terminal vim for note scratchpad Setting the WM_CLASS in neovim-qt happens too late for XMonad to corretly place the scratchpad window. As for this usecase the difference between neovim-qt and plain neovim in kitty do not matter this is the simplest solution. --- gui/conf/xmonad.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/conf') diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index 7a9f7bb..b8e7f1e 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -118,7 +118,7 @@ scratchpads host = (customFloating $ hideScreenBorder host sideBarLeft) , NS "messaging" "telegram-desktop" ((className =? "TelegramDesktop") <&&> (title /=? "Media viewer")) (customFloating $ hideScreenBorder host sideBarRight) - , NS "notes" "nvim-qt --no-ext-tabline -- --cmd \"let &titlestring='orgnotes'\" ~/org/*.org" (title =? "orgnotes — Neovim") + , NS "notes" "kitty --class=orgterm nvim ~/org/*.org" (className =? "orgterm") (customFloating $ hideScreenBorder host dropDown) ] -- cgit v1.2.3