diff --git a/internal/pkg/eventhandler/handler.go b/internal/pkg/eventhandler/handler.go index 1f68f77..e33ebe6 100644 --- a/internal/pkg/eventhandler/handler.go +++ b/internal/pkg/eventhandler/handler.go @@ -61,16 +61,13 @@ func newFnKeyHandler() *fnKeyHandler { return &fnKeyHandler{ inputSources: inputsource.All(), - // TODO: Make this configurable. primaryInputSources: viper.GetStringSlice("primary_input_sources"), - // TODO: Make this configurable. - additionalInputSources: []string{ - "com.apple.keylayout.Finnish", - }, + additionalInputSources: viper.GetStringSlice("additional_input_sources"), } } +// getNextInputSource returns the next input source. func (h *fnKeyHandler) getNextInputSource(inputSources *[]string) int { nextInputSource := 0