aboutsummaryrefslogtreecommitdiffstats
path: root/bin/startsway
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2020-04-18 21:21:10 +0200
committerDavid Runge <dave@sleepmap.de>2020-04-18 21:21:10 +0200
commitf0079623da13e5004c539d693e52133fc8047fd3 (patch)
tree61d77d5b8270854ce009c115386d38deb5d4f6b3 /bin/startsway
parent193d95967b8942144ead7589bf2b1c6bbe016fb9 (diff)
downloaddotfiles-f0079623da13e5004c539d693e52133fc8047fd3.tar.gz
dotfiles-f0079623da13e5004c539d693e52133fc8047fd3.tar.bz2
dotfiles-f0079623da13e5004c539d693e52133fc8047fd3.tar.xz
dotfiles-f0079623da13e5004c539d693e52133fc8047fd3.zip
bin/startsway: Adding several exports to force certain graphical backends onto wayland and getting better debug output.
Diffstat (limited to 'bin/startsway')
-rwxr-xr-xbin/startsway11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/startsway b/bin/startsway
index 3dc12b8..2f3c5ee 100755
--- a/bin/startsway
+++ b/bin/startsway
@@ -3,6 +3,17 @@
export XKB_DEFAULT_LAYOUT=us,de
export XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle,caps:escape
+export CLUTTER_BACKEND=wayland
+export QT_QPA_PLATFORM=wayland-egl
+export QT_WAYLAND_FORCE_DPI=physical
+export SDL_VIDEODRIVER=wayland
+export BEMENU_BACKEND=wayland
+
+# crashes sway on reload:
+# export MOZ_ENABLE_WAYLAND=1
+
+export RUST_BACKTRACE=full
+
mkdir -p "$HOME/.log"
config="$HOME/.config/sway/config"