aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-04-23 14:35:44 +0200
committerAdrian Kummerlaender2020-04-23 14:35:44 +0200
commit2464e2337d99a98085b397c11c55c3bf528c0ac9 (patch)
treefc3e91f932249e1d65759c30eadcc742b270b22d
parentd38345cc8474c01dd2e2b368e7eb18eb3d635d99 (diff)
downloadnixos_home-2464e2337d99a98085b397c11c55c3bf528c0ac9.tar
nixos_home-2464e2337d99a98085b397c11c55c3bf528c0ac9.tar.gz
nixos_home-2464e2337d99a98085b397c11c55c3bf528c0ac9.tar.bz2
nixos_home-2464e2337d99a98085b397c11c55c3bf528c0ac9.tar.lz
nixos_home-2464e2337d99a98085b397c11c55c3bf528c0ac9.tar.xz
nixos_home-2464e2337d99a98085b397c11c55c3bf528c0ac9.tar.zst
nixos_home-2464e2337d99a98085b397c11c55c3bf528c0ac9.zip
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.
-rw-r--r--gui/conf/xmonad.hs2
1 files changed, 1 insertions, 1 deletions
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)
]