aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-10-10 15:38:23 +0200
committerAdrian Kummerlaender2018-10-10 15:38:23 +0200
commitfdaf18836251ca633729dfbbbe617f6322182afd (patch)
tree63334a10c84a6316ba19d158177ee0c4e7dfc899
parent2a13bf445797b88ac774715d2accbb5284686b0d (diff)
downloadnixos_home-fdaf18836251ca633729dfbbbe617f6322182afd.tar
nixos_home-fdaf18836251ca633729dfbbbe617f6322182afd.tar.gz
nixos_home-fdaf18836251ca633729dfbbbe617f6322182afd.tar.bz2
nixos_home-fdaf18836251ca633729dfbbbe617f6322182afd.tar.lz
nixos_home-fdaf18836251ca633729dfbbbe617f6322182afd.tar.xz
nixos_home-fdaf18836251ca633729dfbbbe617f6322182afd.tar.zst
nixos_home-fdaf18836251ca633729dfbbbe617f6322182afd.zip
Explicitly disable nvim-qt gui tabline, add CLI alias
-rw-r--r--gui/conf/xmonad.hs2
-rw-r--r--gui/vim.nix14
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-<Space>" , spawn "rofi -show combi")
, ("M-<Return>" , spawn "kitty")
- , ("M-S-<Return>" , spawn "nvim-qt")
+ , ("M-S-<Return>" , spawn "nvim-qt --no-ext-tabline")
, ("<Print>" , 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";
+ };
+ };
}