manager/files/X11/xinitrc
Dan Anglin 903e5d8b66
checkpoint: manage home directories
- ensure configured home directories are present and their mode set to
  0700
- move dotfiles to files
- added JSON config
2024-09-09 18:02:53 +01:00

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