- ``` -##KUSTOMCLIP## -{ - "clip_version": 1, - "clip_cut": [], - "clip_modules": [ - { - "internal_type": "KomponentModule", - "globals_list": { - "testc": { - "index": 1, - "type": "COLOR", - "title": "testc", - "description": "", - "global_formula": "", - "value": "#FFFFFFFF" - }, - "namec": { - "index": 2, - "type": "COLOR", - "title": "namec", - "global_formula": "$br(colorconsistency, background)$", - "value": "#FF9CB596" - }, - "datec": { - "index": 3, - "type": "COLOR", - "title": "datec", - "description": "", - "global_formula": "", - "value": "#FFC7C7C7" - }, - "backgrou": { - "index": 4, - "type": "COLOR", - "title": "backgrou", - "global_formula": "$ce(br(colorconsistency, foreground),alpha,70)$", - "value": "#80000000" - }, - "pastdays": { - "index": 5, - "type": "TEXT", - "title": "pastDays", - "description": "for regex", - "global_formula": "", - "value": "$fl(1, 5, \"i + 1\", \"df(dd/MM, r + i + d)\" , \"| \")$" - } - }, - "internal_toggles": { - "config_visible": 10 - }, - "internal_formulas": { - "config_visible": "$if((mi(artist) \u003d \"\" | mi(state) !\u003d PLAYING) \u0026 br(qvalentin, rapla-active) \u003d \"True\", ALWAYS, NEVER)$" - }, - "position_anchor": "TOP", - "viewgroup_items": [ - { - "internal_globals": { - "paint_color": "backgrou" - }, - "internal_toggles": { - "paint_color": 100, - "shape_width": 10, - "shape_height": 10 - }, - "internal_type": "ShapeModule", - "shape_height": 1080.0, - "shape_width": 720.0, - "shape_type": "RECT", - "position_anchor": "TOP", - "internal_formulas": { - "shape_width": "$si(rwidth)$", - "shape_height": "$si(rheight)$" - } - }, - { - "internal_type": "TextModule", - "position_anchor": "TOP", - "text_expression": "$tc(reg,tc(reg,br(qvalentin, rapla),df(dd/MM/yyyy),\"[u]\"+df(dd/MM/yyyy)+\"[/u]\"),\"\\[c\u003d.*c\\].*(\"+gv(pastDays)+\").*\\n\",\"\")$", - "text_size": 25.0, - "paint_color": "#FFAEAEAE", - "text_size_type": "FIXED_WIDTH", - "text_width": 720.0, - "internal_toggles": { - "text_width": 10 - }, - "internal_formulas": { - "text_width": "$si(rwidth)$" - } - }, - { - "internal_type": "FontIconModule", - "icon_icon": "update", - "position_anchor": "TOPRIGHT", - "internal_events": [ - { - "type": "SINGLE_TAP", - "action": "LAUNCH_ACTIVITY", - "intent": "intent:#Intent;component\u003dde.qvalentin.rapla2kustom/.ToKserviceStarter;S.org.kustom.intent.label\u003dRapla2Kustom;end" - } - ] - }, - { - "internal_type": "FontIconModule", - "icon_icon": "web", - "position_anchor": "TOPRIGHT", - "internal_events": [ - { - "type": "SINGLE_TAP", - "action": "OPEN_LINK", - "url": "https://rapla.dhbw-karlsruhe.de/rapla?page\u003dcalendar\u0026user\u003dbraun\u0026file\u003dTINF19B2\u0026day\u003d5\u0026month\u003d2\u0026year\u003d2020\u0026today\u003dHeute" - } - ], - "position_padding_top": 125.0 - } - ] - } - ] -} -##KUSTOMCLIP## +$tc(reg,tc(reg,br(qvalentin, rapla),df(dd/MM/yyyy),"[u]"+df(dd/MM/yyyy)+"[/u]"),"\[c=.*c\].*("+fl(1, 5, "i + 1", "df(dd/MM, r + i + d)" , "| ")+").*\n","")$ ``` -
-