aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/hst_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-07 01:50:56 +0900
committerOphestra <cat@gensokyo.uk>2025-10-07 04:24:45 +0900
commit9e48d7f5626aa966a23754534f3120855d6a7c32 (patch)
treeade6eb09abd52b4c64bb5eb9dfb5246ee93454fe /hst/hst_test.go
parentf280994957bdc1c6defdd4bd9dcc44dd83a5cfd5 (diff)
hst/config: move container fields from toplevel
This change also moves pd behaviour to cmd/hakurei, as this does not belong in the hst API. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/hst_test.go')
-rw-r--r--hst/hst_test.go22
1 files changed, 11 insertions, 11 deletions
diff --git a/hst/hst_test.go b/hst/hst_test.go
index 0c25fa7c..90380e07 100644
--- a/hst/hst_test.go
+++ b/hst/hst_test.go
@@ -92,14 +92,6 @@ func TestAppError(t *testing.T) {
func TestTemplate(t *testing.T) {
const want = `{
"id": "org.chromium.Chromium",
- "path": "/run/current-system/sw/bin/chromium",
- "args": [
- "chromium",
- "--ignore-gpu-blocklist",
- "--disable-smooth-scrolling",
- "--enable-features=UseOzonePlatform",
- "--ozone-platform=wayland"
- ],
"enablements": {
"wayland": true,
"dbus": true,
@@ -141,9 +133,6 @@ func TestTemplate(t *testing.T) {
"broadcast": null,
"filter": true
},
- "username": "chronos",
- "shell": "/run/current-system/sw/bin/zsh",
- "home": "/data/data/org.chromium.Chromium",
"extra_perms": [
{
"ensure": true,
@@ -238,6 +227,17 @@ func TestTemplate(t *testing.T) {
"dev": true,
"optional": true
}
+ ],
+ "username": "chronos",
+ "shell": "/run/current-system/sw/bin/zsh",
+ "home": "/data/data/org.chromium.Chromium",
+ "path": "/run/current-system/sw/bin/chromium",
+ "args": [
+ "chromium",
+ "--ignore-gpu-blocklist",
+ "--disable-smooth-scrolling",
+ "--enable-features=UseOzonePlatform",
+ "--ozone-platform=wayland"
]
}
}`