From fdaf18836251ca633729dfbbbe617f6322182afd Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 10 Oct 2018 15:38:23 +0200 Subject: Explicitly disable nvim-qt gui tabline, add CLI alias --- gui/conf/xmonad.hs | 2 +- gui/vim.nix | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index 115af69..3beedc7 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -116,7 +116,7 @@ commonKeybindings host = -- application launchers , ("M-" , spawn "rofi -show combi") , ("M-" , spawn "kitty") - , ("M-S-" , spawn "nvim-qt") + , ("M-S-" , spawn "nvim-qt --no-ext-tabline") , ("" , spawn "xfce4-screenshooter") -- window management , ("M-q" , windows $ S.shift "NSP") diff --git a/gui/vim.nix b/gui/vim.nix index 76912e6..09c51e1 100644 --- a/gui/vim.nix +++ b/gui/vim.nix @@ -26,9 +26,17 @@ }; gtk = { - gtk2.extraConfig = '' - style "vimfix" { bg[NORMAL] = "#161616" } - widget "vim-main-window.*GtkForm" style "vimfix" + gtk3.extraCss = '' + window#vim-main-window { + background-color: #161616; + } ''; }; + + programs.fish = { + enable = true; + shellAliases = { + nvim-qt = "nvim-qt --no-ext-tabline ^ /dev/null > /dev/null"; + }; + }; } -- cgit v1.2.3