spmenu/themes/install.sh

8 lines
350 B
Bash
Raw Normal View History

#!/bin/sh
# install.sh
# This script installs all the profiles, allowing spmenu to see and choose them.
CONFDIR="${XDG_CONFIG_HOME:-$HOME/.config}"
mkdir -p "$CONFDIR/spmenu/profiles/"
cp ./* legacy/* "$CONFDIR/spmenu/profiles/"
rm -f "$CONFDIR/spmenu/profiles/install.sh" "$CONFDIR/spmenu/profiles/README.md" "$CONFDIR/spmenu/profiles/sample.theme"