Загрузка данных


#!/bin/bash
# Xsetup - run as root before the login dialog appears
fly-wmfunc FLYWM_IS_NESTED_SESSION
if [ "$?" != 0 ]; then
 . /usr/bin/fly-dm-preset-wallpaper.sh
 if [ ! -z $FLY_SET_CFS_ZEN_TWEAKS ]; then
   /usr/bin/fly-set-cfs-zen-tweaks.sh
 fi
   xset dpms 0 0 0
fi
xset s off
VM=$(systemd-detect-virt -v)
if [ "$VM" = "oracle" ]; then
 output=$(xrandr | awk '$2 == "connected"{print $1}')
 xrandr --output $output --primary --auto
fi

if [ -x /usr/bin/fly-orientation-setup.sh ]; then
  /usr/bin/fly-orientation-setup.sh
fi

xrandr --output eDP-1 --rotate right

for i in $(seq 1 10); do
    #xinput list --name-only | grep -q "Goodix Capacitive TouchScreen" && break
    input list --name-only | grep -q "xwayland-touch:12" && break
    sleep 0.5
done

xinput set-prop "xwayland-touch:12" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1