12 lines
278 B
Plaintext
12 lines
278 B
Plaintext
|
#! /usr/bin/env bash
|
||
|
|
||
|
[ -z "$THEME_DIR"] && THEME_DIR="$HOME/.config/xthemes"
|
||
|
|
||
|
read -n 1 -p "You are about to remove theme '$1'. Are you sure? (y/n)" REPLY
|
||
|
echo
|
||
|
|
||
|
if [ "$REPLY" = "y" -o "$REPLY" = "Y" ]; then
|
||
|
rm -rf "$THEME_DIR/$1"
|
||
|
echo "Theme '$1' has been removed."
|
||
|
fi
|