From 3a0868feb48fbe004942ed84bf7bea000428de82 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Mon, 15 Jul 2024 01:20:39 +0200 Subject: implement turnstile-style services --- .xinitrc | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to '.xinitrc') 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 -- cgit v1.2.3