mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 22:04:19 +08:00
49 lines
785 B
TOML
49 lines
785 B
TOML
# X11 configuration
|
|
|
|
include = ["desktop.toml"]
|
|
|
|
# Override the default settings here
|
|
|
|
# General settings
|
|
[general]
|
|
# Filesystem size in MiB
|
|
filesystem_size = 4096
|
|
|
|
# Package settings
|
|
[packages]
|
|
mesa = {}
|
|
smallvil = {}
|
|
softbuffer-wayland = {}
|
|
wayland-rs = {}
|
|
winit-wayland = {}
|
|
xkeyboard-config = {}
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/10_wayland_env"
|
|
data = """
|
|
export XDG_RUNTIME_DIR /run/user/0
|
|
mkdir -p $XDG_RUNTIME_DIR
|
|
export WAYLAND_DISPLAY wayland-1
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/40_wayland"
|
|
data = """
|
|
orbital-wayland
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/bin/orbital-wayland"
|
|
mode = 0o755
|
|
data = """
|
|
#!/usr/bin/env bash
|
|
|
|
export LD_DEBUG=all
|
|
export RUST_LOG=debug
|
|
smallvil_smallvil &
|
|
sleep 2
|
|
softbuffer-wayland_animation &
|
|
#wayland-rs_simple_window &
|
|
#winit-wayland_window &
|
|
"""
|