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

feature/ enhancement: custom start and end of tmux status bar options #306

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

druxorey
Copy link

Description

This pull request adds a new boolean option @dracula-show-edge-icons to the Dracula Theme plugin for tmux. This option allows the icons defined in the show_left_sep and show_right_sep variables to also be displayed at the beginning and end of the status bar.

@dracula-show-edge-icons = false
before

@dracula-show-edge-icons = true
after

Changes made:

  • Added the @dracula-show-edge-icons option with a default value of false.
  • Modified the status-left and status-right configurations to include edge icons when @dracula-show-edge-icons is enabled.

Issue resolved

This change resolves issue #217, where the option to display icons at the edges of the status bar was requested.

Usage example

To enable this option, add the following line to your tmux configuration file:

set -g @dracula-show-edge-icons true

@Theoreticallyhugo
Copy link
Collaborator

Heya @druxorey
thank you for your contribution, and please excuse the long silence. i've been trying your fork, and it works for the left icon, and windows, but for some reason the widgets on the right side don't change.
this is tested on fedora41, what did you test on?
also do you think you could implement this as an optional feature, instead of a bug?

@druxorey
Copy link
Author

druxorey commented Jan 4, 2025

Hi there @Theoreticallyhugo,

Thank you for your feedback and for testing the feature. I tried this feature with the plugins network-ping and tmux-ram-usage on Arch Linux. Could you please let me know which widgets you have activated on the right side so I can run the necessary tests?

Regarding the optional feature implementation, I will work on it shortly.

@druxorey druxorey changed the title fixes #217 enhancement: custom start and end of tmux status bar options feature #217 enhancement: custom start and end of tmux status bar options Jan 4, 2025
@druxorey druxorey changed the title feature #217 enhancement: custom start and end of tmux status bar options feature/ enhancement: custom start and end of tmux status bar options Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants