Improve integration with KDE's file manager to work with dolphin version 14.12.3 while still being compatable with 4.14.2. Thanks, silvio.
This commit is contained in:
parent
9d745434f9
commit
995643665a
4 changed files with 20 additions and 2 deletions
|
@ -145,10 +145,12 @@ installFileManagerHooks program = do
|
|||
, "Name=" ++ command
|
||||
, "Icon=git-annex"
|
||||
, unwords
|
||||
[ "Exec=sh -c 'cd \"$(dirname '%U')\" &&"
|
||||
[ "Exec=sh -c 'cd \"$(dirname \"$1\")\" &&"
|
||||
, program
|
||||
, command
|
||||
, "--notify-start --notify-finish -- %U'"
|
||||
, "--notify-start --notify-finish -- \"$1\"'"
|
||||
, "false" -- this becomes $0 in sh, so unused
|
||||
, "%f"
|
||||
]
|
||||
]
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue