Skip to content

Commit

Permalink
minor: if gtk-layer-shell is not supported, set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
abenz1267 committed Jan 22, 2025
1 parent 9650082 commit 0eb1692
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.12.10-git
0.12.10
4 changes: 4 additions & 0 deletions internal/ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ func Activate(state *state.AppState) func(app *gtk.Application) {

config.Cfg.IsService = appstate.IsService

if !ls.IsSupported() {
config.Cfg.AsWindow = true
}

if appstate.Dmenu == nil {
if appstate.DmenuSeparator != "" {
config.Cfg.Builtins.Dmenu.Separator = appstate.DmenuSeparator
Expand Down

0 comments on commit 0eb1692

Please sign in to comment.