diff --git a/packages/x11/other/fluxbox/config/init b/packages/x11/other/fluxbox/config/init index 6d7c95f5d1..11a2393e01 100644 --- a/packages/x11/other/fluxbox/config/init +++ b/packages/x11/other/fluxbox/config/init @@ -3,9 +3,10 @@ session.keyFile: /storage/.fluxbox/keys session.configVersion: 13 -session.screen0.defaultDeco: NONE session.screen0.rootCommand: fbsetroot -solid black session.screen0.autoRaise: True session.screen0.fullMaximization: True session.screen0.workspaces: 0 session.screen0.focusModel: StrictMouseFocus +session.screen0.focusNewWindows: True +session.screen0.focusLastWindow: True diff --git a/packages/x11/other/fluxbox/package.mk b/packages/x11/other/fluxbox/package.mk index 1f7d993863..78452c909d 100644 --- a/packages/x11/other/fluxbox/package.mk +++ b/packages/x11/other/fluxbox/package.mk @@ -45,6 +45,10 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_realloc_0_nonnull=yes \ --disable-nls \ --disable-imlib2" +post_install() { + enable_service windowmanager.service +} + post_makeinstall_target() { rm -rf $INSTALL/usr/bin/fbrun rm -rf $INSTALL/usr/bin/fbsetbg