Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide a desktop file #29

Merged
merged 1 commit into from
May 18, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fi
AC_SUBST(NITROGEN_LIBS)
AC_SUBST(NITROGEN_CFLAGS)

AC_CONFIG_FILES(Makefile src/Makefile data/Makefile data/icons/Makefile po/Makefile.in)
AC_CONFIG_FILES(Makefile src/Makefile data/Makefile data/nitrogen.desktop data/icons/Makefile po/Makefile.in)
AC_OUTPUT

dnl syscrash says don't test for inotify support in kernel for some reason
Expand Down
11 changes: 11 additions & 0 deletions data/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
SUBDIRS = icons

desktopdir = $(datadir)/applications
desktop_DATA = nitrogen.desktop

UPDATE_DESKTOP = update-desktop-database $(datadir)/applications || :

install-data-hook:
$(UPDATE_DESKTOP)
uninstall-hook:
$(UPDATE_DESKTOP)

EXTRA_DIST = icon-theme-installer
8 changes: 8 additions & 0 deletions data/nitrogen.desktop.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Exec=@PACKAGE@
Name=@PACKAGE_NAME@
Categories=Utility;GTK
Icon=@PACKAGE@
Comment=Browse and set desktop backgrounds
Keywords=background;desktop;