diff options
Diffstat (limited to 'hosts/iroha/scripts')
| -rwxr-xr-x | hosts/iroha/scripts/run-sway | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/hosts/iroha/scripts/run-sway b/hosts/iroha/scripts/run-sway index 8c0ba13..63b6bd9 100755 --- a/hosts/iroha/scripts/run-sway +++ b/hosts/iroha/scripts/run-sway @@ -1,4 +1,12 @@ #! /usr/bin/env sh -export MAIN_MONITOR=DP-1 -#dbus-run-session env WLR_RENDERER=gles2 sway -dbus-run-session env WLR_RENDERER=vulkan sway +export MAIN_MONITOR=$(awk -F ' ' 'NR==1{print $3}' $HOME/.config/sway/monitors) +export XDG_CURRENT_DESKTOP=sway +#export WLR_RENDERER=gles2 +export WLR_RENDERER=vulkan +#export SWAY_UNSUPPORTED_GPU=1 +export SDL_VIDEODRIVER=wayland +export GDK_BACKEND=wayland,x11 +export QT_QPA_PLATFORM=wayland;xcb +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 +export _JAVA_AWT_WM_NONREPARENTING=1 +dbus-run-session sway |