Enable vulkan for sway on both FreeBSD and Linux.

This commit is contained in:
Tom Alexander 2023-03-22 16:51:38 -04:00
parent ee1899cf4d
commit bf49396f8d
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@ if [[ ! -v XDG_RUNTIME_DIR ]]; then
fi
export XDG_CURRENT_DESKTOP=sway
export WLR_RENDERER=vulkan
# Enable wayland support for firefox
export MOZ_ENABLE_WAYLAND=1

View File

@ -6,5 +6,6 @@ IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export XDG_CURRENT_DESKTOP=sway
export WLR_RENDERER=vulkan
exec sway -d &> $HOME/.config/swaylog

View File

@ -20,6 +20,7 @@
- wtype # for rofimoji to be able to insert characters
- dbus # for desktop notifications
- jq
- vulkan-validation-layers # For vulkan support in sway
state: present
- name: Install scripts