From 4e92f8998c4802f218e51ce254fca41dd6954e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 9 Jan 2022 19:44:19 +0100 Subject: Switch to Sway --- local/bin/startsway | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 local/bin/startsway (limited to 'local/bin/startsway') diff --git a/local/bin/startsway b/local/bin/startsway new file mode 100644 index 0000000..a162deb --- /dev/null +++ b/local/bin/startsway @@ -0,0 +1,17 @@ +#!/bin/sh +set -eu + +# Declare the current desktop +export XDG_CURRENT_DESKTOP=sway +# Use GTK theme for QT applications +export QT_QPA_PLATFORMTHEME=gtk2 +export QT_STYLE_OVERRIDE='gtk2' +# Fix fullscreen game offscreen +export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 +# To fix missing textures on intel +export force_s3tc_enable=true +# Fix firefox touchscreen gestures and force wayland +export MOZ_USE_XINPUT2=1 +export MOZ_ENABLE_WAYLAND=1 + +exec dbus-launch --exit-with-session sway -- cgit v1.2.3