mirror of
https://github.com/KeithDHedger/LFSDesktopProject.git
synced 2026-01-13 05:42:05 +00:00
14 lines
289 B
Bash
Executable File
14 lines
289 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
if which kkeditqt &>/dev/null;then
|
|
INSTANCE=$((0x8000 + $(xdotool get_desktop)))
|
|
KKEDIT=kkeditqt
|
|
KKMSG=kkeditqtmsg
|
|
|
|
echo "$KKMSG -k $INSTANCE -c "openfile" -d "$1" -a"
|
|
$KKMSG -k $INSTANCE -c "openfile" -d "$1"
|
|
$KKMSG -k $INSTANCE -c "activate"
|
|
else
|
|
xdg-open "$1"
|
|
fi
|