aboutsummaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-06-01 14:29:24 +0200
committerlonkaars <loek@pipeframe.xyz>2023-06-01 14:29:24 +0200
commitd63048083d3223d1657236d1f381acfbfd7373b8 (patch)
treeae277f74fe5156e768eb6df64c1f234b4f37394c /.xprofile
parent1f5a346013ed7529dcd196692e4aaaf44a03f9d7 (diff)
fix slow gtk application startup
Diffstat (limited to '.xprofile')
-rwxr-xr-x.xprofile11
1 files changed, 11 insertions, 0 deletions
diff --git a/.xprofile b/.xprofile
index 8b160d2..9abfa55 100755
--- a/.xprofile
+++ b/.xprofile
@@ -7,5 +7,16 @@ export _JAVA_OPTIONS='-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndF
export TZ='Europe/Amsterdam'
xrandr --dpi 92
+
+if [ -d /etc/X11/xinit/xinitrc.d ] ; then
+ for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+# https://github.com/swaywm/sway/wiki#gtk-applications-take-20-seconds-to-start
+dbus-update-activation-environment --systemd DISPLAY
+
i3