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

Example of a config file for all cool visual effects of the example of displayed in the first main github page #1368

Open
bjce opened this issue Nov 12, 2024 · 6 comments

Comments

@bjce
Copy link

bjce commented Nov 12, 2024

Hello

A big thank you to all the developpers/maintainers of khal which I started to use heavily for a few days as my agenda. I know it is not a bug and I am sorry to pollute the issue section but I could not find this information in the documentation. I would like to know if it is possible to have an example of the config file which enabled to display khal (in interactive mode I guess) as it is displayed in the first main github page:

https://github.com/pimutils/khal

Many thanks in advance

Best regards

Screenshot from 2024-11-12 10-42-30

@Tonus1
Copy link

Tonus1 commented Nov 12, 2024

What are you looking for ? Colors ? Layout ? Icons ?

@bjce
Copy link
Author

bjce commented Nov 12, 2024

Hi @Tonus1. Many thanks for your comment. Colors on the dates would be the most interesting feature. But I would be interested in any other feature in a config template

@Tonus1
Copy link

Tonus1 commented Nov 12, 2024

The colors are from the calendars (you can keep the server's config or change in each calendar config).

The icons depends on the font you use for the (virtual) terminal.

From the latest (git?) versions you can write a theme.
See :
https://github.com/geier/khal_gruvbox

@bjce
Copy link
Author

bjce commented Nov 12, 2024

Mmh, I see. thank you for your feedback. I added the following line :

[view]
theme = gruvbox

installed the package with the command :

pip install git+https://github.com/geier/khal_gruvbox@importlib

but got the error:

critical: config error:
critical: in [view] theme: the value "gruvbox" is unacceptable.
If your configuration file used to work, please have a look at the Changelog to see what changed.

I guess this might be because I installed khal with sudo apt-get install khal (on Linux-debian distro) and not the master version. So maybe I need to wait a bit. What do you think?

@Tonus1
Copy link

Tonus1 commented Nov 13, 2024

Since the last release is from February and the issue where this is mentioned is from March iirc, I guess master branch is ahead from your khal version (you didn't mentioned)....

Maybe ask for new release or compile master branch from recent commit ?

@bjce
Copy link
Author

bjce commented Nov 13, 2024

ok thank you for your comment. My version was the default version of the apt package manager for linux mint which I uninstalled. I then installed khal in a python environnment (which installed version 0.11.3). I this environnment I then ran the commen pip install git+https://github.com/geier/khal_gruvbox@importlib and ran the command ikhal but that gave me the following error message:

critical: config error:
critical: in [view] theme: the value "gruvbox" is unacceptable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants