mirror of
https://github.com/vofy/fekt-scara.git
synced 2025-06-27 22:29:21 +02:00
Updates
This commit is contained in:
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
20
host/X11/xorg.conf.d/90-display.conf
Normal file
20
host/X11/xorg.conf.d/90-display.conf
Normal 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
|
8
host/plymouth-theme/fekt-scara/fekt-scara.plymouth
Normal file
8
host/plymouth-theme/fekt-scara/fekt-scara.plymouth
Normal 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
|
BIN
host/plymouth-theme/fekt-scara/fekt-scara.png
Normal file
BIN
host/plymouth-theme/fekt-scara/fekt-scara.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 582 KiB |
15
host/plymouth-theme/fekt-scara/fekt-scara.script
Normal file
15
host/plymouth-theme/fekt-scara/fekt-scara.script
Normal 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);
|
Loading…
Reference in a new issue