MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Changing icons of the modules Current Weather and Weather Forecast

    Scheduled Pinned Locked Moved Development
    301 Posts 30 Posters 1.3m Views 33 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      Manu85 @sdetweil
      last edited by

      @sdetweil I may have moved something before meeting you, but in any case, I didn’t do anything that was important, now I know that I only touch config.js and css.custom!
      to carry out a test I pass the same line?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Manu85
        last edited by

        @Manu85 said in Changing icons of the modules Current Weather and Weather Forecast:

        to carry out a test I pass the same line?

        you just DID the test pass…

        if you want to see what changed in those files , for each do

        git diff thefilename
        

        for example

        git diff css/main.css
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Manu85 @sdetweil
          last edited by

          @sdetweil I certainly didn’t understand…when I place the order I get this

          pi@MagicMirror:~ $ git diff css/main.css
          Not a git repository
          To compare two paths outside a working tree:
          usage: git diff [--no-index] <path> <path>
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Manu85
            last edited by

            @Manu85 again have to be IN the MagicMirror folder

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              Manu85 @sdetweil
              last edited by

              @sdetweil I think it’s because I wasn’t in the MM folder, now I have this

              6ee9acef-fd95-4e29-ae48-3593c059f478-image.png

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Manu85
                last edited by

                @Manu85 red is old, green is new…

                SO, if you want to KEEP those, then they have to move to custom.css

                do the same for the other files… needs the full path

                modules/default…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  Manu85 @sdetweil
                  last edited by sdetweil

                  @sdetweil ok if I understand correctly, I do this for all modules which presented a problem, putting the full address for each module? example :

                  git diff modules/default/calendar/calendar.js
                  

                  , I just

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Manu85
                    last edited by

                    @Manu85 yes

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 2 Replies Last reply Reply Quote 0
                    • M Offline
                      Manu85 @sdetweil
                      last edited by

                      @sdetweil ok, I do it you are too strong

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Manu85 @sdetweil
                        last edited by

                        @sdetweil for calendar I got this return and the cursor did not return to cd ~/MagicMirror/ I just have two points at the bottom of the file

                        pi@MagicMirror:~/MagicMirror $ git diff modules/default/calendar/calendar.js
                        diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/cal                                                                                                                                                             endar.js
                        index 2ef9ca9c..4f70a1e9 100644
                        --- a/modules/default/calendar/calendar.js
                        +++ b/modules/default/calendar/calendar.js
                        @@ -1,6 +1,6 @@
                         /* global cloneObject */
                        
                        -/* MagicMirror²
                        +/* Magic Mirror
                          * Module: Calendar
                          *
                          * By Michael Teeuw https://michaelteeuw.nl
                        @@ -11,11 +11,8 @@ Module.register("calendar", {
                                defaults: {
                                        maximumEntries: 10, // Total Maximum Entries
                                        maximumNumberOfDays: 365,
                        -               limitDays: 0, // Limit the number of days shown, 0 = no limit
                        -               pastDaysCount: 0,
                                        displaySymbol: true,
                        -               defaultSymbol: "calendar-alt", // Fontawesome Symbol see https:/                                                                                                                                                             /fontawesome.com/cheatsheet?from=io
                        -               defaultSymbolClassName: "fas fa-fw fa-",
                        :...skipping...
                        diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js
                        index 2ef9ca9c..4f70a1e9 100644
                        --- a/modules/default/calendar/calendar.js
                        +++ b/modules/default/calendar/calendar.js
                        @@ -1,6 +1,6 @@
                         /* global cloneObject */
                        
                        -/* MagicMirror²
                        +/* Magic Mirror
                          * Module: Calendar
                          *
                          * By Michael Teeuw https://michaelteeuw.nl
                        @@ -11,11 +11,8 @@ Module.register("calendar", {
                                defaults: {
                                        maximumEntries: 10, // Total Maximum Entries
                                        maximumNumberOfDays: 365,
                        -               limitDays: 0, // Limit the number of days shown, 0 = no limit
                        -               pastDaysCount: 0,
                                        displaySymbol: true,
                        -               defaultSymbol: "calendar-alt", // Fontawesome Symbol see https://fontawesome.com/cheatsheet?from=io
                        -               defaultSymbolClassName: "fas fa-fw fa-",
                        +               defaultSymbol: "calendar", // Fontawesome Symbol see https://fontawesome.com/cheatsheet?from=io
                                        showLocation: false,
                                        displayRepeatingCountTitle: false,
                                        defaultRepeatingCountTitle: "",
                        @@ -27,25 +24,23 @@ Module.register("calendar", {
                                        maxEventTitleLines: 3,
                                        fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
                                        animationSpeed: 2000,
                        -               fade: true,
                        +               fade: false,
                                        urgency: 7,
                        -               timeFormat: "relative",
                        -               dateFormat: "MMM Do",
                        +               timeFormat: "absolute",
                        +               dateFormat: "Do MMM HH:mm",
                                        dateEndFormat: "LT",
                        -               fullDayEventDateFormat: "MMM Do",
                        +               fullDayEventDateFormat: "Do MMM",
                                        showEnd: false,
                                        getRelative: 6,
                                        fadePoint: 0.25, // Start on 1/4th of the list.
                                        hidePrivate: false,
                                        hideOngoing: false,
                        -               hideTime: false,
                        -               showTimeToday: false,
                                        colored: false,
                        -               customEvents: [], // Array of {keyword: "", symbol: "", color: ""} where Keyword is a regexp and symbol/color are to be applied for matched
                        +               coloredSymbolOnly: false,
                                        tableClass: "small",
                                        calendars: [
                                                {
                        -                               symbol: "calendar-alt",
                        +                               symbol: "calendar",
                                                        url: "https://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                                                }
                                        ],
                        @@ -60,18 +55,9 @@ Module.register("calendar", {
                                        excludedEvents: [],
                                        sliceMultiDayEvents: false,
                                        broadcastPastEvents: false,
                        -               nextDaysRelative: false,
                        :
                        
                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 18
                        • 19
                        • 20
                        • 21
                        • 22
                        • 30
                        • 31
                        • 20 / 31
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy