aboutsummaryrefslogtreecommitdiffstats
path: root/_xinitrc
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-05-02 19:49:35 +0800
committerAaron LI <aaronly.me@gmail.com>2016-05-02 19:49:35 +0800
commitbb5e8cad82ea9a3990b685229f746da0924aa8ec (patch)
treef4193ba896676ee3a8be7f280159cdbf6ab144b7 /_xinitrc
parent24a547b72ccf504151ae24beb309e838fe193eb9 (diff)
downloaddotfiles-bb5e8cad82ea9a3990b685229f746da0924aa8ec.tar.bz2
_xinitrc: move XDG_CURRENT_DESKTOP from _profile
Diffstat (limited to '_xinitrc')
-rw-r--r--_xinitrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/_xinitrc b/_xinitrc
index 018562e..fcac6a2 100644
--- a/_xinitrc
+++ b/_xinitrc
@@ -1,3 +1,4 @@
+# -*- mode: sh; -*-
#
# ~/.xinitrc
#
@@ -35,6 +36,8 @@ case "${session}" in
xfce|xfce4)
exec dbus-launch --exit-with-session startxfce4;;
openbox)
+ # Fix Qt5 application appearance when not running under KDE
+ export XDG_CURRENT_DESKTOP=KDE
exec dbus-launch --exit-with-session openbox-session;;
*)
echo "ERROR: unknown session" >/dev/stderr