mirror of
https://github.com/wizbright/waybox.git
synced 2026-03-06 01:40:39 -05:00
Simple rofi menu
This commit is contained in:
parent
35b3e5af11
commit
c9b187afc8
6 changed files with 72 additions and 0 deletions
|
|
@ -72,6 +72,26 @@ then
|
|||
WB_XDG_AUTOSTART="@libexecdir@/openbox-autostart OPENBOX";
|
||||
fi
|
||||
|
||||
if test -f $WB_USER_CONF_DIR/menu.xml;
|
||||
then
|
||||
WB_MENU_XML=$WB_USER_CONF_DIR/menu.xml
|
||||
elif test -f $WB_SYS_CONF_DIR/menu.xml;
|
||||
then
|
||||
WB_MENU_XML=$WB_SYS_CONF_DIR/menu.xml
|
||||
elif test -f $OB_USER_CONF_DIR/menu.xml;
|
||||
then
|
||||
_ "WARNING: Using files from Openbox. These may not work correctly."
|
||||
WB_MENU_XML=$OB_USER_CONF_DIR/menu.xml
|
||||
elif test -f $OB_SYS_CONF_DIR/menu.xml;
|
||||
then
|
||||
_ "WARNING: Using files from Openbox. These may not work correctly."
|
||||
WB_MENU_XML=$OB_SYS_CONF_DIR/menu.xml;
|
||||
else
|
||||
_ "ERROR: No menu file found." >&2
|
||||
exit 1
|
||||
fi
|
||||
export WB_MENU_XML
|
||||
|
||||
if test -f $WB_USER_CONF_DIR/rc.xml;
|
||||
then
|
||||
WB_RC_XML=$WB_USER_CONF_DIR/rc.xml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue