s/example.Xresources/Default/g
This commit is contained in:
parent
6d3db1c798
commit
1aea6858ba
|
@ -66,7 +66,7 @@ list_profiles() {
|
|||
profiles="$(find "${CONFDIR}/spmenu/profiles" -type f)"
|
||||
profilec="$(find "${CONFDIR}/spmenu/profiles" -type f | wc -l)"
|
||||
|
||||
[ "$1" != "noopts" ] && [ -f "${CONFDIR}/spmenu/.profile" ] && printf "\033[1;33m%s\n" "Current profile: $(basename "$(cat "${CONFDIR}/spmenu/.profile")")" | sed "s/spmenurc/Default/g; s/NONE/None/g"
|
||||
[ "$1" != "noopts" ] && [ -f "${CONFDIR}/spmenu/.profile" ] && printf "\033[1;33m%s\n" "Current profile: $(basename "$(cat "${CONFDIR}/spmenu/.profile")")" | sed "s/spmenurc/Default/g; s/NONE/None/g; s/example.Xresources/Default/g"
|
||||
|
||||
for i in $(seq "$profilec"); do
|
||||
curprofile="$(basename "$(printf "%s" "$profiles" | sed "${i}q;d")")"
|
||||
|
|
Loading…
Reference in a new issue