enable wayland fixes

This commit is contained in:
askiiart 2025-03-06 19:43:19 -06:00
parent 4e78b78914
commit f7bcfff53e
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A
2 changed files with 3 additions and 5 deletions

View file

@ -62,11 +62,7 @@ alias venv="if ! test -d ./.venv/; python3 -m venv .venv; end; source ./.venv/bi
alias py-dep="pip install -r requirements.txt"
alias sway="sway --unsupported-gpu"
if [ $(tty) = /dev/tty1 ]
sway
end
# run code in wayland natively
# TODO: just add it to the args file instead
alias code="code --ozone-platform=wayland"
alias vesktop="vesktop --ozone-platform=wayland"
alias code="code --enable-features=UseOzonePlatform --ozone-platform=wayland"

View file

@ -54,4 +54,6 @@ config.colors = {
config.default_cursor_style = 'SteadyBar'
config.enable_wayland = true
return config