manager/unprocessed/X11/xinitrc

20 lines
440 B
Bash

#!/usr/bin/env bash
[[ -f "${HOME}/.bashrc" ]] && source "${HOME}/.bashrc"
# Start dunst
if [ -x "$( command -v dunst )" ]; then
dunst &
fi
# Load the wallpaper
xwallpaper --stretch ~/.local/config/wallpaper/wallpaper.png &
# Rotate the home logs with logrotate
logrotate \
--state=${XDG_STATE_HOME}/logrotate/status \
--log=${LOG_HOME}/logrotate.log \
${XDG_CONFIG_HOME}/logrotate/logrotate.conf \
&
exec startdwm