Enable vulkan for sway on both FreeBSD and Linux.
This commit is contained in:
parent
ee1899cf4d
commit
bf49396f8d
@ -12,6 +12,7 @@ if [[ ! -v XDG_RUNTIME_DIR ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
export XDG_CURRENT_DESKTOP=sway
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
|
export WLR_RENDERER=vulkan
|
||||||
|
|
||||||
# Enable wayland support for firefox
|
# Enable wayland support for firefox
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
@ -6,5 +6,6 @@ IFS=$'\n\t'
|
|||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
export XDG_CURRENT_DESKTOP=sway
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
|
export WLR_RENDERER=vulkan
|
||||||
|
|
||||||
exec sway -d &> $HOME/.config/swaylog
|
exec sway -d &> $HOME/.config/swaylog
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
- wtype # for rofimoji to be able to insert characters
|
- wtype # for rofimoji to be able to insert characters
|
||||||
- dbus # for desktop notifications
|
- dbus # for desktop notifications
|
||||||
- jq
|
- jq
|
||||||
|
- vulkan-validation-layers # For vulkan support in sway
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Install scripts
|
- name: Install scripts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user