diff options
| author | 2026-04-25 14:28:02 -0400 | |
|---|---|---|
| committer | 2026-04-25 14:46:39 -0400 | |
| commit | 0848d6c89defb95966deeecd1c61352deccbeaec (patch) | |
| tree | 21a2e74fcabb85c02fda8959badc08b0f7de0261 /hosts/iroha/scripts/run-sway | |
| parent | ef40a5119a77280863c21ba67397818514714ccc (diff) | |
| download | dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.tar.gz dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.tar.bz2 dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.zip | |
New CPU + Cleanup
Diffstat (limited to 'hosts/iroha/scripts/run-sway')
| -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 |