This commit is contained in:
2026-03-21 21:34:35 +08:00
parent 99a8e6d883
commit 819b50f9d1
4 changed files with 29 additions and 79 deletions

View File

@@ -1,33 +0,0 @@
#!/bin/sh
# openRuyi labwc default autostart
# Set wallpaper if swaybg exists
if command -v swaybg >/dev/null 2>&1; then
swaybg -i /usr/share/openruyi-desktop-setup-labwc/labwc/openruyi.png -m fill &
fi
# Start waybar
if command -v waybar >/dev/null 2>&1; then
(
i=0
while [ "$i" -lt 3 ]; do
sleep 1
waybar && exit 0
i=$((i + 1))
sleep 2
done
) &
fi
# Start sfwbar
if command -v sfwbar >/dev/null 2>&1; then
(
i=0
while [ "$i" -lt 3 ]; do
sleep 1
sfwbar && exit 0
i=$((i + 1))
sleep 2
done
) &
fi

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="root-menu" label="labwc">
<item label="Terminal">
<action name="Execute">
<command>foot</command>
</action>
</item>
<item label="Launcher">
<action name="Execute">
<command>wofi --show drun</command>
</action>
</item>
<separator/>
<item label="Reconfigure">
<action name="Reconfigure"/>
</item>
<item label="Exit">
<action name="Exit"/>
</item>
</menu>
</openbox_menu>

View File

@@ -1,19 +0,0 @@
<?xml version="1.0"?>
<labwc_config>
<core>
<gap>6</gap>
</core>
<theme>
<name>Adwaita-dark</name>
</theme>
<keyboard>
<repeatRate>25</repeatRate>
<repeatDelay>600</repeatDelay>
</keyboard>
<mouse>
<doubleClickTime>500</doubleClickTime>
</mouse>
</labwc_config>