mirror of
https://codeberg.org/metamuffin/abrechenbarkeit-sd.git
synced 2024-12-22 06:34:35 +00:00
clean up a bit and fix sound
This commit is contained in:
parent
eee95db443
commit
043686c982
7 changed files with 47 additions and 3 deletions
|
@ -14,7 +14,7 @@ Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/fish -c '/usr/bin/cage -d -- electron --ozone-platform=wayland (cat /sys/firmware/efi/efivars/AppUrl-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38 | tail -c +5)'
|
ExecStart=/usr/local/bin/app_main
|
||||||
Restart=always
|
Restart=always
|
||||||
User=abrechenbarkeit
|
User=abrechenbarkeit
|
||||||
UtmpIdentifier=%I
|
UtmpIdentifier=%I
|
||||||
|
@ -24,7 +24,7 @@ TTYReset=yes
|
||||||
TTYVHangup=yes
|
TTYVHangup=yes
|
||||||
TTYVTDisallocate=yes
|
TTYVTDisallocate=yes
|
||||||
StandardInput=tty-fail
|
StandardInput=tty-fail
|
||||||
PAMName=cage
|
PAMName=asd
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical.target
|
WantedBy=graphical.target
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
u abrechenbarkeit - "Abrechenbarkeit User Interface User" /home/abrechenbarkeit /usr/bin/nologin
|
u abrechenbarkeit - "Abrechenbarkeit User Interface User" /home/abrechenbarkeit /usr/bin/nologin
|
||||||
|
m abrechenbarkeit render
|
||||||
|
m abrechenbarkeit video
|
||||||
|
m abrechenbarkeit input
|
||||||
|
m abrechenbarkeit audio
|
||||||
|
m abrechenbarkeit rtkit
|
||||||
|
|
7
airootfs/usr/local/bin/app_main
Normal file
7
airootfs/usr/local/bin/app_main
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/fish
|
||||||
|
if test -e /sys/firmware/efi/efivars/AppUrl-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38
|
||||||
|
set url (cat /sys/firmware/efi/efivars/AppUrl-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38 | tail -c +5)
|
||||||
|
else
|
||||||
|
set url /usr/local/share/webapps/no_config/index.html
|
||||||
|
end
|
||||||
|
/usr/bin/cage -d -- electron --ozone-platform=wayland $url
|
32
airootfs/usr/local/share/webapps/no_config/index.html
Normal file
32
airootfs/usr/local/share/webapps/no_config/index.html
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>No configuration</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
p,
|
||||||
|
pre {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
cursor: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h1>No app configuration found</h1>
|
||||||
|
<p>Please set the 97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38-AppUrl EFI variable to the entry point of your
|
||||||
|
application.</p>
|
||||||
|
<p>For more information see https://codeberg.org/metamuffin/abrechenbarkeit-sd</p>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -13,7 +13,6 @@ fish
|
||||||
electron
|
electron
|
||||||
pipewire
|
pipewire
|
||||||
pipewire-alsa
|
pipewire-alsa
|
||||||
pipewire-jack
|
|
||||||
pipewire-pulse
|
pipewire-pulse
|
||||||
wpa_supplicant
|
wpa_supplicant
|
||||||
efivar
|
efivar
|
||||||
|
|
|
@ -17,4 +17,5 @@ bootstrap_tarball_compression=(zstd -c -T0 --long -19)
|
||||||
file_permissions=(
|
file_permissions=(
|
||||||
["/etc/shadow"]="0:0:400"
|
["/etc/shadow"]="0:0:400"
|
||||||
["/usr/local/bin/configure_wpa"]="0:0:755"
|
["/usr/local/bin/configure_wpa"]="0:0:755"
|
||||||
|
["/usr/local/bin/app_main"]="0:0:755"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue