skttlock / dotfiles

config stuf
1 stars 0 forks source link

NeoVim from Terminal vs. NeoVim from Tmux - different colors #2

Open skttlock opened 6 months ago

skttlock commented 6 months ago

See title. Launching neovim from a standard terminal session loads it with the TokyoNight or TokyoNight-Day colorscheme. Launching neovim from Tmux however, loads with different colors all together.

skttlock commented 6 months ago

Upon further testing, It seems that, inside of Tmux, neovim will match the system setting active when tmux was first started. Still, the colors are slightly different. See the screenshots as examples. Screenshot from 2024-05-02 18-22-37 Screenshot from 2024-05-02 18-23-11 Screenshot from 2024-05-02 18-23-17 Screenshot from 2024-05-02 18-23-22

skttlock commented 6 months ago

Note: when using Default colorscheme, none of the above errors occur- in fact nvim will change to match system setting at any point.

skttlock commented 6 months ago

Note: this is becoming a non-issue as I move to just use tokyonight-storm, always. However, this can be switched by setting vim.o.background = "light"

skttlock commented 5 months ago

See theme.sh by Lemnos. See catppuccin/nvim - includes tmux tutorial.

skttlock commented 5 months ago

Looking again at https://github.com/f-person/auto-dark-mode.nvim This should work on Fedora as GNOME does indeed implement freedesktop.

skttlock commented 5 months ago

Auto Dark Mode does indeed work. Now just need to correct the color of tmux.