This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#!/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
|
||||
@@ -0,0 +1,22 @@
|
||||
<?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>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
Reference in New Issue
Block a user