D20113: [Desktop Theme KCM] Adapt clock to new hand rotation center options

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Fri Mar 29 12:15:05 GMT 2019


kossebau added a comment.


  See D20112 <https://phabricator.kde.org/D20112> for the same change for the applet.
  
  To test, you can download the Unicorn theme from store.kde.org, then edit the .local/share/plasma/desktoptheme/unicorn/widgets/clock.svg and append this before the final `</svg>`:
  
    <rect
         style="opacity:0.875;fill:#008000;fill-opacity:1;stroke:none"
         id="hint-hands-shadow-offset-to-west"
         width="20"
         height="4"
         x="100"
         y="60" />
    <rect
         style="opacity:0.875;fill:#008000;fill-opacity:1;stroke:none"
         id="hint-hands-shadow-offset-to-south"
         width="4"
         height="10"
         x="110"
         y="60" />
    <rect
         style="opacity:0.875;fill:#008000;fill-opacity:1;stroke:none"
         id="hint-hourhand-rotation-center-offset"
         width="7.4285"
         height="2.5"
         x="93.071"
         y="70" />
    <rect
         style="opacity:0.875;fill:#008000;fill-opacity:1;stroke:none"
         id="hint-minutehand-rotation-center-offset"
         width="37.835"
         height="2.5"
         x="62.576"
         y="80" />
    <rect
         style="opacity:0.875;fill:#008000;fill-opacity:1;stroke:none"
         id="hint-secondhand-rotation-center-offset"
         width="11,772"
         height="0.5"
         x="88.616"
         y="90" />
  
  Clearing the cache and then reloading the theme settings will then fix the Unicorn clock to look like this (minute hand properly rotated around end) as well keep the other clocks unchanged:
  F6730184: Screenshot_20190329_125516.png <https://phabricator.kde.org/F6730184>

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D20113

To: kossebau, #plasma, #vdg, mart, davidedmundson, ngraham
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190329/124d0927/attachment.html>


More information about the Plasma-devel mailing list