Skip to content

Commit

Permalink
fix(desktop): various fixes
Browse files Browse the repository at this point in the history
- It's not a console application, so Terminal must be false.
- It can open only one file at once, so %f should be used instead of %F on the exec line.
- NoDisplay=true should be added, because the application cannot be launched without the file parameter.
  • Loading branch information
City-busz authored and jtheoof committed May 21, 2021
1 parent 0d383f6 commit 42425c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/po/swappy.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ Comment[de]=Ein natives Wayland Bildschirmfoto-Bearbeitungswerkzeug
Comment[fr]=Un outil d'édition de capture d'écran avec support natif pour Wayland
Comment[pt_BR]=Uma ferramenta de edição de snapshot nativa do Wayland
TryExec=swappy
Exec=swappy -f %F
Terminal=true
Exec=swappy -f %f
Terminal=false
NoDisplay=true
Type=Application
Keywords=wayland;snapshot;annotation;editing;
Icon=swappy
Expand Down

0 comments on commit 42425c0

Please sign in to comment.