Toxblh / MTMR-presets

💈 [My TouchBar My rules] Share your preset!
https://github.com/toxblh/mtmr
The Unlicense
426 stars 247 forks source link

Night Shift breaks preferences #71

Open xnajja opened 3 years ago

xnajja commented 3 years ago

Hi everyone,

I like using MTMR, thanks for the excellent work. Since upgrading to Big Sur I've had a problem with updating my preferences with new scripts. Especially, I'd like to add a Night Shift ON/OFF toggle, but I experience immediate crashes after doing so.

  1. I open Preferences via the MTMR context menu, iteams.json opens in a text editor.
  2. I add the Night Shift script and save it.
  3. MTMR immediately crashes. I see only the default controls and MTMR is not in the menubar as running. If I try to open MTMR again, it won't start. Only after deleting the Night Shift script and trying again the app launches.

Can anyone, please, help with finding the error that causes this behavior?

Thanks in advance!

My items.json with added Night Shift file below:

[
  {
    "type": "escape",
    "width": 64,
    "align": "left"
  },

  {
    "type": "brightness",
    "width": 120,
    "align": "left",
    "image": {
      "base64":
        "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABHNCSVQICAgIfAhkiAAAHmBJREFUeJzt3X+MFOeZJ/Dv83ZXz3BCYTIZrDEZpmegB01WWHL2cGRW+ETvAYZbEwUz02fv2bsgxSdl9+y1L7Ii1mtFUWL5It+uN8kfzukiwcbZs9U9GG/wyg6gbbSg2DL+A8lIGWUamu6ZHY/MeBhy5Bj6Rz33R89gjGdguruq37fqfT6SI8um33rirvfbb71V9b4EYY3iG+s2ohr5zwzeBsZGEK0EAAbPEdMoEZ9AxP2H3ocvnNNdq2gN0l2A8N94en3CJXoJoG8s7xP8pkPlA2uGCqP+ViZ0kwAIuWJ6YB+Df7Lwa79szFeh8K34UO4XPpUmDKB0FyD8U8wknmbCwbo7PwAQrQTTq8VM4mkfShOGkBFASI2n1+90Sb3dfEtcUcy716bOv9N8W8I0EgAhlD8S71CV2BiALm9a5Ak3Wr6nf09h1pv2hCnkEiCEVNl5Cp51fgCgnvk2RchIAIQMZxEF0ZOeN0z0JGcR9bxdoZUEQMgUZ/q3wtNf/xu65tsWISIBED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Z/5VZvQTwLAAh8difeVKs7LAH1jeZ/gEw6Vn1wzVBj1tzKhmwSARSZH4oMVjv0XBm8DY+PCqIDBc8Q0SsQnIkz/+OXU2FndtYrW+P9HJQzKO3NJrQAAAABJRU5ErkJggg=="
  }
  },

  {
    "type": "previous",
    "width": 45
  },

  {
    "type": "play",
    "width": 45
  },

  // Spotify
  {
    "type": "appleScriptTitledButton",
    "source": {
      "inline": "if application \"Spotify\" is running then\rtell application \"Spotify\"\rif player state is playing then\rreturn (get artist of current track) & \" – \" & (get name of current track)\relse\rreturn \"\"\rend if\rend tell\rend if\rreturn \"\"\r"
    },
    "action": "appleScript",
    "actionAppleScript": {
      "inline": "if application \"Spotify\" is running then\rtell application \"Spotify\"\rif player state is playing then\rnext track\rend if\rend tell\rend if\r"
    },
    "refreshInterval": 1,
    "image": {
      "base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAYUExURUdwTB3WXx3UXh3VXx7XYBkXFRpVLRyURmIaeAQAAAAEdFJOUwDDO3fSqUUkAAABbklEQVRIx61VbW6DMAztoAeYNA7ApB6gkzhAWS24wIAL0HABaK6/pHFNEhy8TXu/kPzkPD/8cTj8K7KPAqB+K5NhQPCUrABCXe7HOUYYZxgVRLiG8RfY4DUgFFtC7cffAfZTFBwBdhWEKfgEq4ocEjgj4ZQifO6/QG9kkETp1dDeVWfRKx3XYSW0LoqY5kCElXDrQkyeCCuh6WL0M4nIWQIyzqixdfKU1koFDKvyCA8NJMzU4xiD+b4kfHRpsIyKc6hBwjVptFHVY51EMAINNDFGJITKDNQcdpX74Hz0CQ3rY5qwMp4EIxrlafzrsYZ2Veb0DkRgfNCUok4Y1fqEijfyi2b8RE9beWqa48Y/uvCNMcH9btfUi+/CGLR1vhL6Zz9N/vBlaCU+7lwY/cmJ67Ryen/2tj23PLqJBodZH8vgj544vOL4pxfI5acrSFxi8hrkU9TSKr78ZpnL50A8KPJJEo+afBblwyqf5j/iGys5j6ScrST2AAAAAElFTkSuQmCC"
    }
  },

  {
    "type": "next",
    "width": 45
  },

    {
    "type": "mute",
    "bordered": true,
    "align": "right",
    "width": 45
  },

  { 
    "type": "volumeDown", 
    "width": 35, 
    "align": "right" 
  },

  {
    "type": "volume",
    "width": 90,
    "align": "right",
    "image": {
      "base64":
        "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABmJLR0QA/wD/AP+gvaeTAAAc+klEQVR4nO3de3wUZZov8N9bnc6VewC5iRoUVERHQVdFZyImwc4FlaRlEHVGPTKXMzMf11V3ZtzZyZx195xVRx0VEHRGxdURO1GGXDAXMKPj8QqC3AkEgiN3Qq7dSV/q2T8ILiKBru7qrk737/v5+IdQ71PP50PqyfNWvfUWQERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERBSXlNUJUGLLy7szQ7e5J0JDJkRlKA2dgOzxdR7Z1dDQ4Lc6v3jHAkBR53DMHudT2r1KoQjAFTj1z2EnoD6AyNtpSd7XV6xY0RHlNBMCCwBFjcPhHOHT5P8p4A4AycGOE6ADgt/73QP+s6Hh5e4IpphwWAAoKnILnbcC8jwEI8MIswOinHXVrnWmJZbgWAAoohwOR0pAy3hcgJ+bFNKtNJlXW1G+3KR4CY0FgCImp8g5XgmWQeRqk0P7lJLi2sryCpPjJhwWAIqInPziYqXUHwEMjtAp3ALbtPqqZVsiFD8hsACQqSLQ8p+GWt+yf+iVa9Ys8UX+XPFJszoBih8z8mef47cNaIjOxQ8AclnmqJb7onOu+MQOgEwRhZa/L/ta9g87h11AaJKsToD6t6lT59uHjWr5NwAPw5pfKKOHjTrqALDCgnP3eywAFLKcguIshZZlAKZZmYdAbgMLQEh4D4BCkpNfXKyg1sKki3/kiOG45OILkZqaYnisAq41I4dExHsAZIjZd/ntdjvuu/sOzCq8CZqmwe324F9+93+xcZOxp3tJesrglStfazcjp0TCDoCCllNQnOX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Z31n8kt2n4xQUFNNDu8TqJK6yjLe/Q8TpwAUcbn5zh9CyXPoez98I7oAdXtdlWuFCbESHgsARUVeUfGF0NWfBLgm9CiyXbfBuWpF+RfmZZbYeA+AoqK2onzrtVdech1EfgZgj5GxAnQA6re+roGX8eI3FzsAirrs7OykpPTMmzWoWaLwPQDnnHyMAvYL8KEoWZmu+d5YsWJFhwWpxj0WALJcttM5ILXDNly3BTL9utaagqRDK1e+1m51XkRERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERETUb/03Z9zjBn4jMgAAAAAASUVORK5CYII="
    }
  },

  { "type": "volumeUp", 
    "width": 35, 
    "align": "right" 
  },

  {
    "type": "nightShift",
    "align": "right",
    "width": 38
  },

  { "type": "displaySleep", 
    "width": 40, 
    "align": "right", 
    "bordered": false 
  },

  {
    "type": "staticButton",
    "action": "appleScript",
    "actionAppleScript": {
        "inline": "tell application \"System Events\" to keystroke \"q\" using {control down, command down}"
      },
      "align": "right",
      "title": "",
      "bordered": false,
      "image": {
          "base64":
          "iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALiQAAC4kBN8nLrQAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3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9pnQeCgxwpjXjwMg8n/wqO98PtIIW/GGM5xIVP/hlXx/V4I0jO/QLIWYc1/SYHgfDu8L6kkl6fXVPcrGt/nJmHVP3IJtfODAcJ54X4XuTi8qDJDlbNQ9zAHt16Dbl0IbhOn2jJ1rzgQZ+l78G8biYQbDPZAX8uWynu/G+Hc4EI/zAze/LajA9tRpSvyVlG8TyrdQ7JaOdRY+VMD50tMfnAuP6t6KiR8PFTqHDeiN/p2vdyfllSrJsK2d2QBQBunNJXmfVdkNFth6bW5j7mifKVFbHuAXUDbiy+IHurm6LTilhfFmnil6qp+MTtEGVAcEpdFnGHEU+pywr3WIp2Hj9mPg74BMAFQPABm81knLcXNgsg6OKpaGagHpBEQRAloH4gE03x+4r2cYGgQzNGrfAjcrZByo+GrVFD6ygx+QQJV/1gR5P2UFc1UN01ZCej9vCVkErMV1D4t01YEWb/tnXriM0ilt7jL+bH7NxC0yA3FI1zTTH4Z01l/McQAqwYZJOqarLB1ux6IRGIAFy7/ddfXr3GWZQjkgjU1ACihPKFSoBUxO3/Aa8bjDcSbLEaAAAAAElFTkSuQmCC"
      }
  },

  {
    "type": "battery",
    "align": "right",
    "bordered": false
  },

    {
    "type": "weather",
    "align": "right",
    "icon_type": "images",
    "api_key": "ca93a0bb8cdb428552660d83249e4bc9",
    "bordered": false
  },

  {
    "type": "timeButton",
    "formatTemplate": "HH:mm",
    "align": "right",
    "bordered": false,
    "longAction": "shellScript",
    "longExecutablePath": "/usr/bin/pmset",
    "longShellArguments": ["sleepnow"]
  }
]
sonyminer commented 3 years ago

I tried it too, and I get the same result. Seams like the widget is not working, probably do to changes in newer version of MacOS.