spmenu/themes/install.sh

9 lines
421 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}"
2023-04-20 18:44:12 +02:00
mkdir -p "$CONFDIR/spmenu/profiles/" "$CONFDIR/spmenu/configs"
cp ./legacy/* "$CONFDIR/spmenu/profiles/"
cp ./*.theme ./*.conf "$CONFDIR/spmenu/configs"
rm -f "$CONFDIR/spmenu/profiles/install.sh" "$CONFDIR/spmenu/profiles/README.md" "$CONFDIR/spmenu/configs/sample.theme"