feat: Export OpenTabletDriver GUI in just command

This commit is contained in:
Kyle Gospodnetich 2023-11-16 23:21:58 -08:00
parent f5ee82a987
commit 6af4a21cd3
2 changed files with 4 additions and 2 deletions

View File

@ -492,7 +492,8 @@ install-opentabletdriver:
rm -f ~/.config/systemd/user/arch-opentabletdriver.service && \
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/OpenTabletDriver/opentabletdriver.service -O ~/.config/systemd/user/arch-opentabletdriver.service && \
systemctl --user daemon-reload && \
systemctl enable --user --now arch-opentabletdriver.service
systemctl enable --user --now arch-opentabletdriver.service && \
distrobox enter -n arch -- 'distrobox-export --app otd-gui'
# Create fedora distrobox if it doesn't exist
[private]

View File

@ -375,7 +375,8 @@ install-opentabletdriver:
rm -f ~/.config/systemd/user/arch-opentabletdriver.service && \
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/OpenTabletDriver/opentabletdriver.service -O ~/.config/systemd/user/arch-opentabletdriver.service && \
systemctl --user daemon-reload && \
systemctl enable --user --now arch-opentabletdriver.service
systemctl enable --user --now arch-opentabletdriver.service && \
distrobox enter -n arch -- 'distrobox-export --app otd-gui'
# Add SELinux file context for default looking-glass shm file so that libvirt can create it when needed
selinux-looking-glass: