aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.xinitrc18
1 files changed, 6 insertions, 12 deletions
diff --git a/.xinitrc b/.xinitrc
index 19806f3..24e7b7a 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,20 +1,11 @@
#!/usr/bin/env sh
# vi: ft=sh
-eval $(dbus-launch --sh-syntax)
-
picom --vsync --no-fading-openclose --shadow-opacity=1.0 --dbus --daemon
feh --auto-reload --bg-fill "$HOME/Pictures/wall.png" &
-dunst &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
-nm-applet &
-blueman-applet &
-thunar --daemon &
-pipewire &
-pipewire-pulse &
-wireplumber &
xss-lock xsecurelock &
# Set up touchpad controls
@@ -39,7 +30,10 @@ xrandr --output HDMI1 --same-as eDP1 --auto
xrdb -merge .config/xresources
-# exec i3
-./dotfiles/dwm/.dwm/bar/bar.sh &
-exec dwm
+: ${TURNSTILE_ENV_DIR:="${HOME}/.config/service-env"}
+echo "${DISPLAY}" > "${TURNSTILE_ENV_DIR}/DISPLAY"
+
+# exec chpst -e "${TURNSTILE_ENV_DIR}" i3
+chpst -e "${TURNSTILE_ENV_DIR}" ./dotfiles/dwm/.dwm/bar/bar.sh &
+exec chpst -e "${TURNSTILE_ENV_DIR}" dwm