Compare commits
2 commits
7048212823
...
9970be29c0
Author | SHA1 | Date | |
---|---|---|---|
|
9970be29c0 | ||
|
509fe509e6 |
3 changed files with 7 additions and 2 deletions
|
@ -5,6 +5,7 @@ cd "${HOME}/.vnc" || exit 5
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
file_base="./$(hostname):1."
|
file_base="./$(hostname):1."
|
||||||
|
verbs="start|status|stop|restart|help"
|
||||||
|
|
||||||
echol() {
|
echol() {
|
||||||
col="$1"
|
col="$1"
|
||||||
|
@ -24,7 +25,7 @@ help() {
|
||||||
${name} - Start a VNC server
|
${name} - Start a VNC server
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
${name} start|status|stop|help
|
${name} ${verbs}
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,7 +81,7 @@ set +e; trap - EXIT
|
||||||
|
|
||||||
# Main case statement
|
# Main case statement
|
||||||
case "$arg" in
|
case "$arg" in
|
||||||
start|status|stop|help)
|
status|start|stop|restatr|help)
|
||||||
"$arg"
|
"$arg"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
export AMD_VULKAN_ICD=RADV
|
||||||
artix-pipewire-loader &
|
artix-pipewire-loader &
|
||||||
exec xfwm4
|
exec xfwm4
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Vulkan
|
||||||
|
env = AMD_VULKAN_ICD, RADV
|
||||||
|
|
||||||
# Backend
|
# Backend
|
||||||
env = GDK_BACKEND, wayland,x11
|
env = GDK_BACKEND, wayland,x11
|
||||||
env = SDL_VIDEODRIVER, wayland
|
env = SDL_VIDEODRIVER, wayland
|
||||||
|
|
Loading…
Reference in a new issue