Allow maximizing; ToggleMaximize action

This commit is contained in:
Keith Bowes 2022-02-23 12:15:13 -05:00
parent c4e224d5fa
commit afe1780ec3
8 changed files with 84 additions and 39 deletions

View file

@ -27,6 +27,9 @@
<execute>grim "$(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S_grim_fs.png')"</execute>
</action>
</keybind>
<keybind key="W-S-M">
<action name="ToggleMaximize"/>
</keybind>
<!-- Keybindings for window switching -->
<keybind key="A-Tab">
<action name="NextWindow">

View file

@ -80,12 +80,14 @@ then
WB_RC_XML=$WB_SYS_CONF_DIR/rc.xml
elif test -f $OB_USER_CONF_DIR/rc.xml;
then
_ "WARNING: Using files from Openbox. These may not work correctly."
WB_RC_XML=$OB_USER_CONF_DIR/rc.xml
elif test -f $OB_SYS_CONF_DIR/rc.xml;
then
_ "WARNING: Using files from Openbox. These may not work correctly."
WB_RC_XML=$OB_SYS_CONF_DIR/rc.xml;
else
_ "ERROR: No configuration file found."
_ "ERROR: No configuration file found." >&2
exit 1
fi
export WB_RC_XML

View file

@ -28,7 +28,7 @@ do
elif cat "$f" | grep -q "^Hidden\s*=\s*true$";
then
show_in=0
# Value of WAYBOX: run all programs
# Value of all: run all programs
elif test "$WB_AUTOSTART_ENVIRONMENT" = "all";
then
show_in=1