-
Notifications
You must be signed in to change notification settings - Fork 130
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
feat: add date and time customization #21
Comments
Hi @samarulmeu, thanks so much for the issue. TLDR; I can simply answer, yes! 🙂 I am currently working on enhancing the theme to provide more customization options to the theme. I imagine there will be an easy way to customize the desired slot with time to fit your needs. If you are interested, you may take a look at #30 to see more. Best |
Hi @egel! Thank you for your help! Waiting for the setting to be available! Good work! |
Hey @samarulmeu, this feature should be already available for tests in release/v2-0-0 branch. Feel free to try it out 🙂 |
Only now I've seen your comment. I'm using an automated plugin update, but for last days I get an error when trying to update
It seems you've renamed the branch. Should I do something? |
Hi @samarulmeu, and thanks for the feedback. Oh yes, some time ago I decided to migrate from I think the simplest way would be to:
feel free to let me know if this worked for you. Or if you plan to test the upcoming release branch with time adjustments - but then you may need to manually pull the repo and link it (see dev section). |
Thank you, @egel! Everything went smooth in upgrading. I am still waiting for the adjustments to hit the stable branch. |
Awesome, happy this worked for you @samarulmeu. And yeah, same! I also want to push this to main! As I am so excited to give those new great things to you all. Although there are a couple of things that still need to be considered e.g.: btw that you remind me, what if someone is using old versions, or if someone's terminal does not support 16bit colors - so aka potential migration guide. Also, feel free to leave feedback if you try out the release/v2.0.0. I am so much open to constructive critique and suggesting better solutions. |
I think that a migration guide is also necessary. Keep up the good woork! |
Hi @egel! I tried to test the 2.0.0 version but I can not set the date as I wanted. This is the setting i put in my
With this the date is something like Should I do something more or the setting is not right? |
Hmm... very interesting. what timezone, OS, and terminal emulator do you use? generally whatever I tried so far with also tested successfully with different using set -g @tmux-gruvbox-right-status-x '#(TZ="America/Chicago" date +%d.%m.%Y)' if this is also not working, try with double set -g @tmux-gruvbox-right-status-x '#(date +%%d.%%m.%%Y)'
|
Hi @egel! I am using xterm in Devuan Linux. In the end it seems to work, but now I get some differences in the color palette. This is the old status bar and this one is with v2 Did something change or it is still something on my part? |
yes, therefore I saw the inevitable need & explanation in the migration guide before the official release. ;) in v2 will support a 16-bit color palette to get a richer color experience, therefore the |
Thank you for your explanation. All of this should be added to the migration guide. Let's see how it goes! I will be back with feedback after the release. |
done, closing after merging release/v2.0.0 |
@egel Hello! I am trying to display the date in local format but with no success. Here is my code
I tried even this:
Thank you! |
Hi @samarulmeu! Sorry to hear that it doesn't work out of the box. I had some problems with simulating your Devuan Linux (xterm) config on my silicon mac - it just doesn't work... Have you maybe tried with double set -g @tmux-gruvbox-right-status-x '#(date +"%%A, %%e %%B %%Y")' |
Hi @egel! Thank you for your answer. Indeed using the double All the best! |
Will it be possible (already exists?) a possibility to change date and time display? For example have something like
%d.%m.%Y
.Thank you!
The text was updated successfully, but these errors were encountered: