#!/bin/bash

. /usr/bin/fly-tablet-env

#FLY_PHONE_LOW_EFFECTS - If set ColorOverlay will be invisible.
#FLY_PHONE_DPR - QML scale factor. If not set it will be calculated based 
#  on physical dpi or taken from settings. Env value overrides settings value.
#FLY_PHONE_VOLUME_CONTROL - Base amixer simple control. If not set it 
#  will be autoset by launcher to Master or Speaker or first control found 
#  in amixer scontrols

if test -x /usr/bin/compton; then
 /usr/bin/compton &
else
 if test -x /usr/bin/fly-kompmgr; then
  /usr/bin/fly-kompmgr &
 fi
fi

/usr/bin/fly-wm --rcfile $HOME/.fly/ru_RU.UTF-8.fly-wmrc.fly-mobile --execOnly fly-launcher
