Skip to content

macOS: Add dark-notify support #522

Closed
@dimitur2204

Description

@dimitur2204

Is there an existing issue outlining your improvement?

  • I have searched the existing issues and my improvement has not been raised yet.

What would you like to see added and/or changed?

For macOS users there is this quite useful dark-notify, which notifies when the system theme changes, I use it to change my theme in neovim. There is also a tmux-dark-notify repo, which is based on dark-notify and I hoped was exactly what I need to change my catppuccin themes.

However following the docs on the tmux-dark-notify repository does not work. What I have in my .tmux.conf right now is what you see below - where the paths are leading correctly to the corresponding theme files. Tried the same with $HOME instead of ~, but it still does not work.

set -g @plugin 'catppuccin/tmux#v2.1.3'
set -g @plugin 'erikw/tmux-dark-notify'
set -g @dark-notify-theme-path-light '~/.tmux/plugins/tmux/themes/catppuccin_latte_tmux.conf'
set -g @dark-notify-theme-path-dark '~/.tmux/plugins/tmux/themes/catppuccin_mocha_tmux.conf'

My suspicion of why it doesn't work with the catppuccin themes is because of the fact that those theme files are setting variables that are then used by the catppuccin_tmux.conf to actually set the tmux colours.

I tried copying the catpuccin_tmux.conf in the theme files, but it didn't work. I don't have the knowledge and context to figure that out myself. Would be grateful if someone from the team could help.
If there is an easy way to make it work it could be a good idea to make an addition to the readme as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions