21 lines
460 B
Bash
Executable File
21 lines
460 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
choice="$(
|
|
printf '%s\n' \
|
|
" Theme wechseln" \
|
|
" Wallpaper wechseln" |
|
|
wofi --dmenu --prompt " Aussehen" --insensitive
|
|
)"
|
|
|
|
case "$choice" in
|
|
*"Theme wechseln"*)
|
|
"$SCRIPT_DIR/ags-switcher.sh" theme
|
|
;;
|
|
*"Wallpaper wechseln"*)
|
|
"$SCRIPT_DIR/ags-switcher.sh" wallpaper
|
|
;;
|
|
esac
|