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 ad6ff41
Showing 1 changed file with 4 additions and 0 deletions.
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 ad6ff41

Please sign in to comment.