Add a .desktop-file containing xsession information for freedesktop compliant login managers

This commit is contained in:
Michael Stapelberg 2009-04-19 22:29:04 +02:00
parent aefae99a11
commit 1b36c943e9
2 changed files with 8 additions and 0 deletions

View File

@ -75,8 +75,10 @@ install: all
echo "INSTALL" echo "INSTALL"
$(INSTALL) -d -m 0755 $(DESTDIR)/usr/bin $(INSTALL) -d -m 0755 $(DESTDIR)/usr/bin
$(INSTALL) -d -m 0755 $(DESTDIR)/etc/i3 $(INSTALL) -d -m 0755 $(DESTDIR)/etc/i3
$(INSTALL) -d -m 0755 $(DESTDIR)/usr/share/xsessions
$(INSTALL) -m 0755 i3 $(DESTDIR)/usr/bin/ $(INSTALL) -m 0755 i3 $(DESTDIR)/usr/bin/
test -e $(DESTDIR)/etc/i3/config || $(INSTALL) -m 0644 i3.config $(DESTDIR)/etc/i3/config test -e $(DESTDIR)/etc/i3/config || $(INSTALL) -m 0644 i3.config $(DESTDIR)/etc/i3/config
$(INSTALL) -m 0644 i3.desktop $(DESTDIR)/usr/share/xsessions/
dist: clean dist: clean
[ ! -f i3-${VERSION} ] || rm -rf i3-${VERSION} [ ! -f i3-${VERSION} ] || rm -rf i3-${VERSION}

6
i3.desktop Normal file
View File

@ -0,0 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Name=i3
Comment=improved dynamic tiling window manager
Exec=i3
Type=XSession