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