mirror of
https://codeberg.org/metamuffin/abrechenbarkeit-sd.git
synced 2024-12-23 15:04:35 +00:00
31 lines
811 B
Desktop File
31 lines
811 B
Desktop File
[Unit]
|
|
Description=User interface for abrechenbarkeit
|
|
After=systemd-user-sessions.service
|
|
Before=graphical.target
|
|
ConditionPathExists=/dev/tty0
|
|
Wants=dbus.socket systemd-logind.service
|
|
After=dbus.socket systemd-logind.service
|
|
Conflicts=getty@%i.service
|
|
After=getty@%i.service
|
|
After=dev-dri-card1.device
|
|
Requires=dev-dri-card1.device
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
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)'
|
|
Restart=always
|
|
User=abrechenbarkeit
|
|
UtmpIdentifier=%I
|
|
UtmpMode=user
|
|
TTYPath=/dev/%I
|
|
TTYReset=yes
|
|
TTYVHangup=yes
|
|
TTYVTDisallocate=yes
|
|
StandardInput=tty-fail
|
|
PAMName=cage
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|
|
DefaultInstance=tty7
|