summaryrefslogtreecommitdiffstats
path: root/dot.xinitrc
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-09-07 20:37:27 +0000
committerChristoph Schlosser <christoph@linux.com>2025-09-07 20:37:27 +0000
commit8db7ed9f3d61588e1e2a7c1b1409e7810c6e8f8f (patch)
tree0cb93e36f361eb6f319bcc86b5d62ce91026e62d /dot.xinitrc
parent3bf5e6834dbc88471f62d5405a9113fb304ca6b6 (diff)
downloaddots-8db7ed9f3d61588e1e2a7c1b1409e7810c6e8f8f.tar.gz
Reorder dot files so they make more sense for X sessions
Diffstat (limited to 'dot.xinitrc')
-rw-r--r--dot.xinitrc11
1 files changed, 10 insertions, 1 deletions
diff --git a/dot.xinitrc b/dot.xinitrc
index e40d041..3636e05 100644
--- a/dot.xinitrc
+++ b/dot.xinitrc
@@ -1,3 +1,5 @@
+. ~/.profile
+
export TERMINAL=kitty
# Some have success with these instead:
#export GDK_DPI_SCALE=1.5
@@ -14,5 +16,12 @@ xrdb -merge ~/.Xresources
# Polybar doesn't pick up the one from Xresources.
xsetroot -cursor_name left_ptr
-. ~/.profile
+if command -v dbus-launch >/dev/null 2>&1; then
+ eval "$(dbus-launch --sh-syntax --exit-with-session)"
+fi
+
+if command -v pipewire >/dev/null 2>&1; then
+ pipewire&
+fi
+
exec herbstluftwm --locked