Skip to content

macOS: Add dark-notify support #522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
dimitur2204 opened this issue Apr 13, 2025 · 1 comment
Closed
1 task done

macOS: Add dark-notify support #522

dimitur2204 opened this issue Apr 13, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@dimitur2204
Copy link

dimitur2204 commented Apr 13, 2025

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.

@dimitur2204 dimitur2204 added the enhancement New feature or request label Apr 13, 2025
@kjnsn
Copy link
Collaborator

kjnsn commented Apr 13, 2025

Already being worked on in #500

@kjnsn kjnsn closed this as completed Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants