From 32cb3bac673255f84c9763d9d4379b9eabcb7c28 Mon Sep 17 00:00:00 2001 From: Sergey Morozov Date: Sat, 3 Jan 2026 18:25:11 +0300 Subject: [PATCH] Add startwayland script --- airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook | 2 +- airootfs/usr/local/bin/startwayland | 2 ++ kde/profiledef.sh | 1 + nox/profiledef.sh | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 airootfs/usr/local/bin/startwayland diff --git a/airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook b/airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook index 53f8676..d928a61 100644 --- a/airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook +++ b/airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook @@ -9,4 +9,4 @@ Description = Add instructions for startx When = PostTransaction Depends = xorg-xinit Depends = sh -Exec = /bin/sh -c 'echo -e \\nTo start GUI, type \\033\[0\;35mstartx\\033\[0\;0m.\\n >> /etc/motd' +Exec = /bin/sh -c 'echo -e \\nTo start GUI, type \\033\[0\;35mstartx\\033\[0\;0m or \\033\[0\;35mstartwayland\\033\[0\;0m.\\n >> /etc/motd' diff --git a/airootfs/usr/local/bin/startwayland b/airootfs/usr/local/bin/startwayland new file mode 100755 index 0000000..d85b9bf --- /dev/null +++ b/airootfs/usr/local/bin/startwayland @@ -0,0 +1,2 @@ +#!/bin/bash +dbus-run-session startplasma-wayland diff --git a/kde/profiledef.sh b/kde/profiledef.sh index 74112ec..d7be618 100644 --- a/kde/profiledef.sh +++ b/kde/profiledef.sh @@ -22,4 +22,5 @@ file_permissions=( ["/usr/local/bin/choose-mirror"]="0:0:755" ["/usr/local/bin/Installation_guide"]="0:0:755" ["/usr/local/bin/livecd-sound"]="0:0:755" + ["/usr/local/bin/startwayland"]="0:0:755" ) diff --git a/nox/profiledef.sh b/nox/profiledef.sh index 4fd2fb2..bc4b37e 100644 --- a/nox/profiledef.sh +++ b/nox/profiledef.sh @@ -22,4 +22,5 @@ file_permissions=( ["/usr/local/bin/choose-mirror"]="0:0:755" ["/usr/local/bin/Installation_guide"]="0:0:755" ["/usr/local/bin/livecd-sound"]="0:0:755" + ["/usr/local/bin/startwayland"]="0:0:755" )