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

Where can i edit system-global config of neowofetch? #133

Closed
Lurius-Kitsune opened this issue Jun 5, 2023 · 5 comments
Closed

Where can i edit system-global config of neowofetch? #133

Lurius-Kitsune opened this issue Jun 5, 2023 · 5 comments

Comments

@Lurius-Kitsune
Copy link

Describe the content

I would like to change the global default setting file that it cp to .config in neowofetch

@hykilpikonna
Copy link
Owner

Unfortunately the only way to change the global default config file right now is to edit the neofetch script directly. Do you want this functionality to be added?

Defining the default config content:

read -rd '' config <<'EOF'

Writing the default content if config file doesn't exist:

hyfetch/neofetch

Line 5807 in 42d8b0d

printf '%s\n' "$config" > "$config_file"

@Lurius-Kitsune
Copy link
Author

Sure can be good to edit directly on a file !

Also, may I ask if it's possible to catimg to use the -w option on it to resize correctly an image because I get something like this :

image

  • But it could be better like this :
    image_2023-06-05_233553547

@Lurius-Kitsune
Copy link
Author

Nevermind we can change it in terminal ^^

@hykilpikonna
Copy link
Owner

Just added the default config feature. Upon running neofetch for the first time, the file /etc/neofetch/default.conf will be copied to .config if it exists, instead of copying the config in the script.

@Lurius-Kitsune
Copy link
Author

Thanks !!!

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