summaryrefslogtreecommitdiff
path: root/hosts/iroha/scripts/run-sway
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-04-25 14:28:02 -0400
committerAndrew Opalach <andrew@akon.city> 2026-04-25 14:46:39 -0400
commit0848d6c89defb95966deeecd1c61352deccbeaec (patch)
tree21a2e74fcabb85c02fda8959badc08b0f7de0261 /hosts/iroha/scripts/run-sway
parentef40a5119a77280863c21ba67397818514714ccc (diff)
downloaddotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.tar.gz
dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.tar.bz2
dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.zip
New CPU + Cleanup
Diffstat (limited to 'hosts/iroha/scripts/run-sway')
-rwxr-xr-xhosts/iroha/scripts/run-sway14
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