File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131def main
3232 check_environment
3333 bin_dir = setup_directories
34-
3534 # Apply decorations/themes first
3635 start_process(" #{ bin_dir } /decorations" )
37-
3836 # Start core compositor
3937 start_process(" #{ bin_dir } /core" )
40-
4138 # Give time for compositor to initialize
4239 sleep 2 .seconds
43-
4440 # Assume socket is wayland-0
4541 ENV [" WAYLAND_DISPLAY" ] = " wayland-0"
46- ENV [" XDG_RUNTIME_DIR" ] ||= " /run/user/#{ Process .uid} "
47-
42+ ENV [" XDG_RUNTIME_DIR" ] ||= " /run/user/#{ LibC .getuid} "
4843 # Start XWayland if not handled by core
4944 # Assuming core handles it, but if needed:
5045 # start_process("XWayland :0 -rootless -terminate")
51-
5246 # Start WM
5347 start_process(" #{ bin_dir } /wm" )
54-
5548 # Start shell (panel)
5649 start_process(" #{ bin_dir } /shell" )
57-
5850 # Start desktop (background and icons)
59- start_process(" #{ bin_dir } /desktop" )
60-
51+ start_process(" #{ bin_dir } /Desktop" )
6152 # The launcher is started on demand via shortcuts or menu
62-
6353 # Keep the launcher process alive, wait for children
6454 channel = Channel (Nil ).new
6555 Signal ::INT .trap { channel.send(nil ) }
You can’t perform that action at this time.
0 commit comments