1 Commits

Author SHA1 Message Date
piotr
cd6e544adc wrong resources path fixed 2021-06-26 23:45:46 +02:00
5 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ Usage of nwg-drawer:
-lang string -lang string
force lang, e.g. "en", "pl" force lang, e.g. "en", "pl"
-o string -o string
name of the Output to display the menu on (sway only) name of the Output to display the drawer on (sway only)
-ovl -ovl
use OVerLay layer use OVerLay layer
-s string -s string

Binary file not shown.

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/nwg-piotr/nwg-menu module github.com/nwg-piotr/nwg-drawer
go 1.16 go 1.16

View File

@@ -19,7 +19,7 @@ import (
"github.com/gotk3/gotk3/gtk" "github.com/gotk3/gotk3/gtk"
) )
const version = "0.1.1" const version = "0.1.2"
var ( var (
appDirs []string appDirs []string
@@ -98,7 +98,7 @@ var (
// Flags // Flags
var cssFileName = flag.String("s", "drawer.css", "Styling: css file name") var cssFileName = flag.String("s", "drawer.css", "Styling: css file name")
var targetOutput = flag.String("o", "", "name of the Output to display the menu on (sway only)") var targetOutput = flag.String("o", "", "name of the Output to display the drawer on (sway only)")
var displayVersion = flag.Bool("v", false, "display Version information") var displayVersion = flag.Bool("v", false, "display Version information")
var overlay = flag.Bool("ovl", false, "use OVerLay layer") var overlay = flag.Bool("ovl", false, "use OVerLay layer")
var iconSize = flag.Int("is", 64, "Icon Size") var iconSize = flag.Int("is", 64, "Icon Size")

View File

@@ -268,7 +268,7 @@ func listDesktopFiles() []string {
} }
func setUpCategories() { func setUpCategories() {
path := filepath.Join(getDataHome(), "nwg-menu/desktop-directories") path := filepath.Join(getDataHome(), "nwg-drawer/desktop-directories")
var other category var other category
for _, cName := range categoryNames { for _, cName := range categoryNames {