aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-11-07 15:37:08 +0100
committerbozo.kopic <bozo@kopic.xyz>2021-11-07 15:37:08 +0100
commitc736c0068507bc1101268f944b7788375ebe6011 (patch)
tree1bf0072b654a8fa5a50d4f1f5105b4b08843772a /sway
parentf4b1af3b990e9d724f49ecc4f735e48c6884b6e4 (diff)
.
Diffstat (limited to 'sway')
-rwxr-xr-xsway/init.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/sway/init.sh b/sway/init.sh
index c854d80..95d2952 100755
--- a/sway/init.sh
+++ b/sway/init.sh
@@ -27,3 +27,12 @@ swaymsg assign "[app_id=\"^tmux_term\$\"]" 9:term
# export GDK_DPI_SCALE=0.95
gsettings set org.gnome.desktop.interface scaling-factor 1
gsettings set org.gnome.desktop.interface text-scaling-factor 1
+
+export QT_QPA_PLATFORM=wayland
+systemctl --user import-environment \
+ QT_QPA_PLATFORM \
+ SWAYSOCK \
+ WAYLAND_DISPLAY \
+ XDG_SESSION_TYPE
+
+systemctl --user restart plasma-kactivitymanagerd.service