~mil/sxmo-utils

c29da5ec5241d7d812f919fa0fd407c6461ed0b6 — Peter John Hartman 26 days ago 825fce5
start: move feh bg command to xinit

This makes dwm consistent with sway.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
2 files changed, 4 insertions(+), 3 deletions(-)

M configs/appcfg/xinit_template
M configs/default_hooks/sxmo_hook_start.sh
M configs/appcfg/xinit_template => configs/appcfg/xinit_template +2 -0
@@ 2,6 2,8 @@

dbus-update-activation-environment DISPLAY XDG_CURRENT_DESKTOP

feh --bg-fill "$(xdg_data_path sxmo/background.jpg)"

# Run actions on start
# By default, setup audio over the main speaker
# and set a sane default volume

M configs/default_hooks/sxmo_hook_start.sh => configs/default_hooks/sxmo_hook_start.sh +2 -3
@@ 45,9 45,6 @@ case "$SXMO_WM" in
		fi
		superctl start "$1"

		# Set a pretty wallpaper
		feh --bg-fill "$(xdg_data_path sxmo/background.jpg)"

		superctl start autocutsel
		superctl start autocutsel-primary
		superctl start sxmo-x11-status


@@ 84,6 81,8 @@ superctl start sxmo_soundmonitor
# Play a funky startup tune if you want (disabled by default)
#mpv --quiet --no-video ~/welcome.ogg &

# Set a background image: edit ~/.config/sxmo/sway or ~/.config/sxmo/xinit

# mmsd and vvmd
if [ -f "${SXMO_MMS_BASE_DIR:-"$HOME"/.mms/modemmanager}/mms" ]; then
	superctl start mmsd