mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-19 04:08:48 +00:00
add a return
This commit is contained in:
parent
6cb9d4f427
commit
1ed45fa85c
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ import WaifuService from '../../../services/waifus.js';
|
|||
import { darkMode } from '../../.miscutils/system.js';
|
||||
|
||||
async function getImageViewerApp(preferredApp) {
|
||||
Utils.execAsync(['bash', '-c', `command -v ${preferredApp}`])
|
||||
return Utils.execAsync(['bash', '-c', `command -v ${preferredApp}`])
|
||||
.then((output) => {
|
||||
if (output != '') return preferredApp;
|
||||
else return 'xdg-open';
|
||||
|
|
|
|||
Loading…
Reference in a new issue