machine_setup/ansible/roles/sway/files/launch_sway_linux.bash
2024-04-06 22:09:23 -04:00

16 lines
310 B
Bash

#!/usr/bin/env bash
#
# Launch sway
set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export XDG_CURRENT_DESKTOP=sway
export MOZ_ENABLE_WAYLAND=1
export WLR_RENDERER=vulkan
# Enable dark theme
# export QT_STYLE_OVERRIDE=adwaita-dark
exec sway -d &> $HOME/.config/swaylog