mirror of
https://github.com/endeavouros-team/welcome.git
synced 2026-06-13 01:24:34 +00:00
[welcome] welcome-dnd & Personal Commands: use dex (instead of xdg-open) for launching apps via .desktop files
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ DndDesktopFile() {
|
||||
local generic_name="$(grep "^GenericName=" "$file" | head -n 1 | cut -d '=' -f 2)"
|
||||
local comment="$(grep "^Comment=" "$file" | head -n 1 | cut -d '=' -f 2)"
|
||||
local description="Description not available."
|
||||
local command="xdg-open '$file'"
|
||||
local command="dex '$file'"
|
||||
|
||||
if [ -n "$generic_name" ] ; then
|
||||
description="$generic_name"
|
||||
|
||||
Reference in New Issue
Block a user