This commit is contained in:
Tomáš Batelka 2025-06-01 19:51:31 +02:00
parent 0c0c67217d
commit 41b37604a0
22 changed files with 43 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,20 @@
Section "Monitor"
Identifier "DSI-1"
# This identifier would be the same as the name of the connector printed by xrandr
# for example "DVI-I-1 connected primary" means that the identifier is "DVI-I-1"
# another example "Unknown19-1 connected primary" some GPIO screens identify as Unknown19
Option "Rotate" "right"
# Valid rotation options are normal,inverted,left,right
Option "PreferredMode" "480x800"
# May be necesary if you are not getting your prefered resolution.
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
EndSection

View file

@ -0,0 +1,8 @@
[Plymouth Theme]
Name=fekt-scara
Description=fekt-scara plymouth theme
ModuleName=script
[script]
ImageDir=/usr/share/plymouth/themes/fekt-scara
ScriptFile=/usr/share/plymouth/themes/fekt-scara/fekt-scara.script

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 KiB

View file

@ -0,0 +1,15 @@
image = Image("fekt-scara.png");
pos_x = Window.GetWidth()/2 - image.GetWidth()/2;
pos_y = Window.GetHeight()/2 - image.GetHeight()/2;
sprite = Sprite(image);
sprite.SetX(pos_x);
sprite.SetY(pos_y);
fun refresh_callback () {
sprite.SetOpacity(1);
spr.SetZ(15);
}
Plymouth.SetRefreshFunction (refresh_callback);