Add initial start-river wrapper
This commit is contained in:
parent
b039ece588
commit
e153bf9621
3 changed files with 24 additions and 0 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
tileos-settings-river (0.3~tileos) unstable; urgency=medium
|
||||
|
||||
* Add intial start-river wrapper
|
||||
|
||||
-- Aleksey Samoilov <samoilov.lex@gmail.com> Mon, 22 May 2023 20:50:05 +0400
|
||||
|
||||
tileos-settings-river (0.2~tileos) unstable; urgency=medium
|
||||
|
||||
* Add Wayland env variables
|
||||
|
|
1
debian/tileos-settings-river.install
vendored
1
debian/tileos-settings-river.install
vendored
|
@ -1 +1,2 @@
|
|||
/etc
|
||||
/usr
|
||||
|
|
17
usr/bin/start-river.sh
Executable file
17
usr/bin/start-river.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# Check if system is running in virtual machine
|
||||
case "$(systemd-detect-virt)" in
|
||||
qemu)
|
||||
export WLR_RENDERER=pixman
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
;;
|
||||
kvm)
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
;;
|
||||
oracle)
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
;;
|
||||
esac
|
||||
|
||||
exec systemd-cat -- /usr/bin/river
|
Loading…
Add table
Reference in a new issue