Skip to content
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

Bug: [Dracula TMUX theme wont load] #248

Open
hsheikhali1 opened this issue Jan 23, 2024 · 9 comments
Open

Bug: [Dracula TMUX theme wont load] #248

hsheikhali1 opened this issue Jan 23, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@hsheikhali1
Copy link

Describe the bug

I followed the instructions on installing the theme but after hitting the key combination for tpm I don't see the theme load. I just get the default tmux bar.

To Reproduce

Steps to reproduce the behavior:

  1. Attempt to install dracula theme
  2. reload tmux

Expected behavior

I expect the tmux theme to load.

Screenshots

CleanShot 2024-01-23 at 09 55 26

System

  • OS: MacOS Sonoma 14.2.1
  • Tmux Version: 3.3a
@hsheikhali1 hsheikhali1 added the bug Something isn't working label Jan 23, 2024
@ethancedwards8
Copy link
Member

Please post your entire Tmux config. It is important to note that the Dracula theme is mostly incompatible with other themes or plugins. If you are using them, you will most likely encounter issues.

@executer9648
Copy link

hi i dont know if this issue was already solved, but when i try to install this theme using tpm it doesnt initiate the installing of the dracula theme.
i can see this when i issue the prefix + U and when i search the plugins folder

cat ~/.tmux.conf
unbind r
bind r source-file ~/.tmux.conf

set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set -g prefix C-s
set -g mouse on

set-option -g status-position top

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'dracula/tmux'

run -b '~/.tmux/plugins/tpm/tpm'

@spkis
Copy link

spkis commented Sep 25, 2024

I got the same issue! Since i updated to macOS 15 though - but might not be 100% related.
I also don't have the ability to use the shortcuts for updating/installation.
But it also doesn't pull the tmux theme (or others).

my config.

# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1

# List of plugins

set -g mouse on
set -g @plugin 'noscript/tmux-mighty-scroll'
set -g @plugin 'laktak/extrakto'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'akohlbecker/aw-watcher-tmux'

set -g @treemux-tree-nvim-init-file '~/.tmux/plugins/treemux/configs/treemux_init.lua'
set -g @plugin 'kiyoon/treemux'
set -g @plugin 'dracula/tmux'
set -g @plugin 'omerxx/tmux-sessionx'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'

#better copy and paste
set -g @plugin 'tmux-plugins/tmux-yank'

#open links
set -g @plugin 'tmux-plugins/tmux-open'


#allows swping and clicking through sessions with mosuse
set -g @plugin 'jaclu/tmux-mouse-swipe'

set -g @plugin 'ofirgall/tmux-window-name'

set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-cowboy'
#set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'




#different theme
#set -g @plugin 'Nybkox/tmux-kanagawa'
#theme with stuff and things
set -g @plugin 'dracula/tmux'
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, network, network-bandwidth, weather, time
set -g @dracula-plugins "cpu-usage ram-usage git battery"

set -g @dracula-show-powerline true

set-option -g @plugin 'b0o/tmux-autoreload'



set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/plugins/tpm/'

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'

# set default shel and stuff
#
# default shell
set -g default-shell /opt/homebrew/bin/fish
set -g default-command /opt/homebrew/bin/fish
#automatic installation
if "test ! -d ~/.tmux/plugins/tpm" \
   "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

@AdamIsrael
Copy link

I had a similar problem. It turned out that I already had a theme in ~/.tmux/plugins/tmux belonging to a different theme (nord) and Dracula is trying to use the same directory. Because it existed, tpm wouldn't install. The solution was to remove the directory and re-run <prefix> I.

@spkis
Copy link

spkis commented Sep 30, 2024

Doesn't help, but seems independant from the theme.
I remove, install and then update, always:
"tmux" update fail
| Already up to date.
| fatal: Cannot rebase onto multiple branches.
"tmux-yank" update success

The task cominnations won't work anymore either.

@spkis
Copy link

spkis commented Sep 30, 2024

Was able to get this to work now, with forcing in tmux config:

set-environment -g PATH "/opt/homebrew/bin:/bin:/usr/bin"
  run-shell "~/.tmux/tpm/tmux/dracula.tmux"

@Heyian
Copy link
Contributor

Heyian commented Oct 8, 2024

I had the same issue coming from the Catppuccin theme and to be honest, the simplest way was to delete the content of the plugins folder and let TPM reinstall all the plugins. Everything's fine now.

@ethancedwards8
Copy link
Member

I had the same issue coming from the Catppuccin theme and to be honest, the simplest way was to delete the content of the plugins folder and let TPM reinstall all the plugins. Everything's fine now.

This the best solution that I have found.

@spkis
Copy link

spkis commented Oct 8, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

6 participants