Giter VIP home page Giter VIP logo

Comments (6)

FWDekker avatar FWDekker commented on June 7, 2024

hiya! mommy works fine without a config file, she'll just use the default settings. if there are any settings you want to change, you can create a new file at ~/.config/mommy/config.sh. (the ~ is an abbreviation for your home directory, so for me it would be /home/florine/.config/mommy/config.sh.) you can create a new file using a program like KWrite, Gedit, nano, Sublime Text, vim, VS Code, or something similar~

if you have a config file at ~/.config/mommy/config.sh, then mommy will first load the defaults, and then any settings defined in ~/.config/mommy/config.sh will override the defaults~

i hope this helps. please let me know if you're stuck somewhere or have other questions :-)

from mommy.

FWDekker avatar FWDekker commented on June 7, 2024

using nano, you can just write nano ~/.config/mommy/config.sh and then add your configuration in the file. for example, add the following line:
screenshot of the nano editor showing the mommy config file containing only the line MOMMY_COLOR="163"
and press CtrlX, type Y, and press Enter to save the file.
if you then run mommy echo test you'll see that her text is in a pink-ish colour~

you mentioned using >. instead of using nano you could also do

echo 'MOMMY_COLOR="163"' > ~/.config/mommy/config.sh

and you will also end up with a config file containing only the line MOMMY_COLOR="163". but note that using > this way will overwrite the file, so if you had made any other changes those would be lost. for config files i'd just use nano if i were you~

you also mentioned ssh. ssh is for connecting to a different computer over the network. unless you're trying to set up mommy remotely, you don't need it here~

from mommy.

artble avatar artble commented on June 7, 2024

Thank You, but I have [Error writing ~/.config/mommy/config.sh: Not a directory] (instead of ~ i have /home/nosacz, but i think that this doesn't change much) and i can't save it.

from mommy.

artble avatar artble commented on June 7, 2024

ok i made with mkdir (so it is directory) all files named in command and ill try now

from mommy.

artble avatar artble commented on June 7, 2024

OK I GOT IT
I had to create these files as directory except for the config.sh, which was made by nano command.

Thank You again, I couldn't do it without your help. I wish you have a great day :D

from mommy.

FWDekker avatar FWDekker commented on June 7, 2024

oh of course, i'm sorry, i should have noticed that. but i'm glad to hear you got it working! cheers! feel free to reopen the issue, open a new issue, or leave another comment if you have more questions ^^

from mommy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.