add wmname setting
@@ -16,6 +16,13 @@ if ! command -v instantautostart &>/dev/null; then
bash ~/.instantautostart
fi &
+# needed to fix some misbehaving applications
+if iconf wmname; then
+ wmname "$(iconf wmname)"
+fi
+
+source ~/.instantsession
+
# loop so crashing instantwm doesn't end the x session
while [ -e /tmp/instantosrunning ]; do
# allow changing wm on the fly
@@ -31,13 +38,11 @@ while [ -e /tmp/instantosrunning ]; do
rm /tmp/wmoverride
else
# Log stderror or stdout to a file
- if ! [ -e .local/share ]
- then
+ if ! [ -e .local/share ]; then
mkdir -p ~/.local/share
fi
- if iconf -i debug
- then
+ if iconf -i debug; then
instantwm &>~/.local/share/instantos.log
else
instantwm 2>~/.local/share/instantos.log
