move DWL_STATUS_PIPE definition to startsession

This commit is contained in:
odrling 2023-12-13 05:22:19 +01:00
parent e63f9dd98a
commit 3d39c4b727
No known key found for this signature in database
GPG key ID: E24CA7508C27AF5B
2 changed files with 1 additions and 2 deletions

View file

@ -2,6 +2,7 @@
if command -v dwl > /dev/null; then
export XDG_CURRENT_DESKTOP=dwl
export GDK_BACKEND=wayland
export DWL_STATUS_PIPE="$XDG_RUNTIME_DIR/dwl_status"
pgrep dwl || exec execlineb -Pc "
importas S6_SCANDIR S6_SCANDIR
foreground { dbus-launch --exit-with-session dwl -s wlstart }

View file

@ -44,8 +44,6 @@ export ODRCDPATH=".:$HOME/git"
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.default"
export DWL_STATUS_PIPE="$XDG_RUNTIME_DIR/dwl_status"
ulimit -c unlimited
[ -f ~/.profile.local ] && . ~/.profile.local