Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd6e544adc |
@@ -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
|
||||||
|
|||||||
BIN
bin/nwg-drawer
BIN
bin/nwg-drawer
Binary file not shown.
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module github.com/nwg-piotr/nwg-menu
|
module github.com/nwg-piotr/nwg-drawer
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
|
|||||||
4
main.go
4
main.go
@@ -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")
|
||||||
|
|||||||
2
tools.go
2
tools.go
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user