snips/dwl.session

17 lines
430 B
Plaintext
Raw Normal View History

2021-05-16 18:31:19 +00:00
#!/usr/bin/env bash
2021-05-26 05:43:12 +00:00
export XDG_RUNTIME_DIR=$1
echo $XDG_RUNTIME_DIR used for Wayland session
2021-05-16 18:31:19 +00:00
export WLR_LIBINPUT_NO_DEVICES=1
export PATH=~/bin:$PATH
export DWLTAGS_FILE=${XDG_RUNTIME_DIR}/dwl.tags.${USER}.out
2021-05-16 18:31:19 +00:00
# export DWLTAGS_FMT=TXT # Waybar uses this
export DWLTAGS_FMT=DZEN
echo "Session: in $1 " $DWLTAGS_FILE
echo "Session: " $DWLTAGS_FILE >> $XDG_RUNTIME_DIR/dwl.log
2021-05-16 18:31:19 +00:00
exec /usr/local/bin/dwl -s $HOME/bin/dwl.entourage