Fix system-sleep-menu.sh
This commit is contained in:
@ -18,11 +18,9 @@ case "${choice}" in
|
|||||||
0)
|
0)
|
||||||
if [[ "${swayidle_state}" == 'Disabled' ]]; then
|
if [[ "${swayidle_state}" == 'Disabled' ]]; then
|
||||||
local cmd_cache=(${(0)"$(<"${CACHE_PATH}")"})
|
local cmd_cache=(${(0)"$(<"${CACHE_PATH}")"})
|
||||||
(
|
set -x
|
||||||
set -x
|
cd "${cmd_cache[1]}"
|
||||||
cd "${cmd_cache[1]}"
|
exec ${=${cmd_cache[2]}}
|
||||||
eval "${cmd_cache[2]}" &
|
|
||||||
)
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
|
Reference in New Issue
Block a user