daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
718 stars 56 forks source link

Hiding the title bar #48

Closed theduke closed 6 years ago

theduke commented 6 years ago

The title bar is ginormous.

A setting to hide it completely would be much appreciated.

wezm commented 6 years ago

Try setting NVIM_GTK_NO_HEADERBAR=1

https://github.com/daa84/neovim-gtk/wiki/Configuration#environment-variables

theduke commented 6 years ago

Cool, thanks. Failed to check the wiki.

adrian-martinez-dev commented 6 years ago

Sorry, but i don't know where to place this setting :(

daa84 commented 6 years ago

This is environment variable

adrian-martinez-dev commented 6 years ago

Oh god, im already checking my dotfiles, i edited my .bashrc, but im using zsh XD, it's working now :)

qazip commented 5 years ago

Setting the environment variables works when nvim-gtk is called from terminal. However, when calling from the .desktop entry, it doesn't seem to work. Any ideas @daa84?

theduke commented 5 years ago

@qazip put the variable in ~/.profile, which is loaded by X.

(Note: you'll have to restart your WM / start a new login session for this to take effect)

wezm commented 5 years ago

Alternatively you can create a copy of the desktop entry and add the environment variable to it.

  1. Copy the desktop entry from /usr/share/applications to ~/.local/share/applications
  2. Edit the copy and change the Exec line to something like: Exec=env NVIM_GTK_NO_HEADERBAR=1 nvim-gtk