From 0848d6c89defb95966deeecd1c61352deccbeaec Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Sat, 25 Apr 2026 14:28:02 -0400 Subject: New CPU + Cleanup --- hosts/iroha/scripts/run-sway | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'hosts/iroha/scripts') 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 -- cgit v1.2.3-101-g0448