summaryrefslogtreecommitdiffstats
path: root/recipes-demo/flutter-ics-homescreen/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo/flutter-ics-homescreen/files')
-rw-r--r--recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.json10
-rw-r--r--recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service2
-rw-r--r--recipes-demo/flutter-ics-homescreen/files/ics-homescreen.toml11
3 files changed, 12 insertions, 11 deletions
diff --git a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.json b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.json
deleted file mode 100644
index 2817e5fed..000000000
--- a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "view" : [ {
- "window_type" : "BG",
- "width" : 1080,
- "height": 1920,
- "fullscreen": true,
- "window_activation_area" : { "x" : 0, "y" : 56, "width" : 1080, "height" : 1712 }
- }
- ]
-}
diff --git a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service
index a61b4a1de..421f87cda 100644
--- a/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service
+++ b/recipes-demo/flutter-ics-homescreen/files/flutter-ics-homescreen.service
@@ -7,7 +7,7 @@ User=agl-driver
EnvironmentFile=/etc/default/flutter
EnvironmentFile=-/etc/default/flutter-ics-homescreen
Environment=XDG_RUNTIME_DIR=/run/user/1001/
-ExecStart=/usr/bin/flutter-auto --b=/usr/share/flutter/flutter_ics_homescreen/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --j=/usr/share/flutter/flutter-ics-homescreen.json --xdg-shell-app-id=homescreen
+ExecStart=/usr/bin/flutter-auto -b /usr/share/flutter/flutter_ics_homescreen/${FLUTTER_VERSION}/${FLUTTER_RUNTIME} --xdg-shell-app-id homescreen
Restart=on-failure
[Install]
diff --git a/recipes-demo/flutter-ics-homescreen/files/ics-homescreen.toml b/recipes-demo/flutter-ics-homescreen/files/ics-homescreen.toml
new file mode 100644
index 000000000..e5cb7f999
--- /dev/null
+++ b/recipes-demo/flutter-ics-homescreen/files/ics-homescreen.toml
@@ -0,0 +1,11 @@
+[view]
+window_type = "BG"
+width = 1080
+height = 1920
+fullscreen = true
+
+[window_activation_area]
+x = 0
+y = 56
+width = 1080
+height = 1712