diff --git a/Makefile b/Makefile index 904b5ec..2758ea3 100644 --- a/Makefile +++ b/Makefile @@ -20,4 +20,5 @@ uninstall: rm /usr/bin/nwg-drawer run: - go run *.go + go build -o bin/nwg-drawer *.go + bin/nwg-drawer diff --git a/bin/nwg-drawer b/bin/nwg-drawer index d4f171b..b3cab7b 100755 Binary files a/bin/nwg-drawer and b/bin/nwg-drawer differ diff --git a/tools.go b/tools.go index f936241..c39b855 100644 --- a/tools.go +++ b/tools.go @@ -366,7 +366,8 @@ func parseDesktopFiles(desktopFiles []string) string { if entry.NoDisplay { hidden++ - continue + // We still need hidden entries, so `continue` is disallowed here + // Fixes #22 introduced in #19 } id2entry[entry.DesktopID] = entry