Dotfiles config update (2022-05-26)
This commit is contained in:
parent
c87cc70c08
commit
7bcd5122db
|
@ -13,8 +13,8 @@ list_desktop_files() {
|
|||
}
|
||||
|
||||
list_desktop_icons() {
|
||||
list_desktop_files | while read desktop_file ; do
|
||||
echo " ${desktop_file}"
|
||||
list_desktop_files | while read current_desktop ; do
|
||||
echo " ${current_desktop}"
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -37,9 +37,18 @@ else
|
|||
fi
|
||||
|
||||
#list_output=$(list_desktop_files | dmenu "$@")
|
||||
#if [ -f "${desktop_files}/${list_output}" ] ; then
|
||||
# ${runDesktop} "${desktop_files}/${list_output}"
|
||||
#elif [ -f "${desktop_files_home}/${list_output}" ] ; then
|
||||
# ${runDesktop} "${desktop_files_home}/${list_output}"
|
||||
#fi
|
||||
|
||||
list_output=$(list_desktop_icons | dmenu "$@")
|
||||
if [ -f "${desktop_files}/${list_output}" ] ; then
|
||||
${runDesktop} "${desktop_files}/${list_output}"
|
||||
elif [ -f "${desktop_files_home}/${list_output}" ] ; then
|
||||
${runDesktop} "${desktop_files_home}/${list_output}"
|
||||
run_output=$(echo ${list_output} | cut -c 4-999)
|
||||
system_file=$(echo -n ${desktop_files}/ ; echo ${run_output})
|
||||
home_file=$(echo -n ${desktop_files_home}/ ; echo ${run_output})
|
||||
if [ -f "${system_file}" ] ; then
|
||||
${runDesktop} "${system_file}"
|
||||
elif [ -f "${home_file}" ] ; then
|
||||
${runDesktop} "${home_file}"
|
||||
fi
|
||||
|
|
|
@ -22,5 +22,8 @@ list_binaries_icons() {
|
|||
}
|
||||
|
||||
#list_output=$(list_binaries | dmenu "$@")
|
||||
#${list_output}
|
||||
|
||||
list_output=$(list_binaries_icons | dmenu "$@")
|
||||
${list_output}
|
||||
run_output=$(echo "${list_output}" | cut -c4-999)
|
||||
${run_output}
|
||||
|
|
Loading…
Reference in New Issue
Block a user