aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2024-07-14 23:20:39 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-07-14 23:20:39 +0000
commit3a0868feb48fbe004942ed84bf7bea000428de82 (patch)
tree1bf67ee83c49cfc4d70acacedd0ff4a6bc977ede /.xinitrc
parent106067ed048a684da33669eff984bd8b98f554a2 (diff)
downloaddotfiles-3a0868feb48fbe004942ed84bf7bea000428de82.tar
dotfiles-3a0868feb48fbe004942ed84bf7bea000428de82.tar.gz
dotfiles-3a0868feb48fbe004942ed84bf7bea000428de82.tar.bz2
dotfiles-3a0868feb48fbe004942ed84bf7bea000428de82.tar.lz
dotfiles-3a0868feb48fbe004942ed84bf7bea000428de82.tar.xz
dotfiles-3a0868feb48fbe004942ed84bf7bea000428de82.tar.zst
dotfiles-3a0868feb48fbe004942ed84bf7bea000428de82.zip
implement turnstile-style services
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