mirror of
https://codeberg.org/metamuffin/abrechenbarkeit-sd.git
synced 2024-12-22 22:54:34 +00:00
7 lines
324 B
Fish
7 lines
324 B
Fish
#!/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
|